{"abstract":[{"text":"The placeholder text to display when the system disables notification previews for the app.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/com.apple.documentation\/documentation\/technologies","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/hiddenPreviewsBodyPlaceholder"},"kind":"symbol","legalNotices":{"copyright":"Copyright &copy; 2026 Apple Inc. All rights reserved.","privacyPolicy":"https:\/\/www.apple.com\/privacy\/privacy-policy","termsOfUse":"https:\/\/www.apple.com\/legal\/internet-services\/terms\/site.html"},"metadata":{"availableLanguages":["de-DE","en-US","es-419","fr-FR","it-IT","ja-JP","ko-KR","pt-BR","zh-CN"],"externalID":"c:objc(cs)UNNotificationCategory(py)hiddenPreviewsBodyPlaceholder","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"hiddenPreviewsBodyPlaceholder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"modules":[{"name":"User Notifications"}],"navigatorTitle":[{"kind":"identifier","text":"hiddenPreviewsBodyPlaceholder"}],"platforms":[{"introducedAt":"11.0","name":"iOS"},{"introducedAt":"11.0","name":"iPadOS"},{"introducedAt":"13.1","name":"Mac Catalyst"},{"introducedAt":"10.14","name":"macOS"},{"introducedAt":"1.0","name":"visionOS"}],"role":"symbol","roleHeading":"Instance Property","symbolKind":"property","title":"hiddenPreviewsBodyPlaceholder"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["iOS","iPadOS","Mac Catalyst","macOS","visionOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"hiddenPreviewsBodyPlaceholder"},{"kind":"text","text":": "},{"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/String","kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" }"}]}],"kind":"declarations"},{"content":[{"anchor":"Discussion","level":2,"text":"Discussion","type":"heading"},{"inlineContent":[{"text":"The string in this property may contain the special characters ","type":"text"},{"code":"%u","type":"codeVoice"},{"text":" as a placeholder for the number of messages with the same thread identifier. If your app declares this string in a ","type":"text"},{"code":".stringsdict","type":"codeVoice"},{"text":" property list, the system formats the preview message using the information in that file. For more information about specifying a ","type":"text"},{"code":".stringsdict","type":"codeVoice"},{"text":" property file, see ","type":"text"},{"identifier":"https:\/\/developer.apple.com\/library\/archive\/documentation\/MacOSX\/Conceptual\/BPInternational\/Introduction\/Introduction.html#\/\/apple_ref\/doc\/uid\/10000171i","isActive":true,"type":"reference"},{"text":".","type":"text"}],"type":"paragraph"}],"kind":"content"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"seeAlsoSections":[{"anchor":"Getting-the-Information","generated":true,"identifiers":["doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/identifier","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/actions","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/intentIdentifiers","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/categorySummaryFormat"],"title":"Getting the Information"}],"variants":[{"paths":["\/documentation\/usernotifications\/unnotificationcategory\/hiddenpreviewsbodyplaceholder"],"traits":[{"interfaceLanguage":"swift"}]},{"paths":["\/documentation\/usernotifications\/unnotificationcategory\/hiddenpreviewsbodyplaceholder"],"traits":[{"interfaceLanguage":"occ"}]}],"references":{"UserNotifications-PageImage-card.png":{"alt":"[A notification interface displayed on the lock screen of an iOS device.]","identifier":"UserNotifications-PageImage-card.png","type":"image","variants":[{"traits":["2x","light"],"url":"\/images\/com.apple.usernotifications\/UserNotifications-PageImage-card@2x.png"},{"traits":["2x","dark"],"url":"\/images\/com.apple.usernotifications\/UserNotifications-PageImage-card~dark@2x.png"}]},"doc://com.apple.documentation/documentation/Swift/String":{"abstract":[{"text":"A Unicode string value that is a collection of characters.","type":"text"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"String"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/String","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"String"}],"role":"symbol","title":"String","type":"topic","url":"\/documentation\/swift\/string"},"doc://com.apple.documentation/documentation/technologies":{"abstract":[],"identifier":"doc:\/\/com.apple.documentation\/documentation\/technologies","kind":"technologies","role":"overview","title":"Technologies","type":"topic","url":"\/documentation\/technologies"},"doc://com.apple.usernotifications/documentation/UserNotifications":{"abstract":[{"text":"Push user-facing notifications to the user’s device from a server, or generate them locally from your app.","type":"text"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications","images":[{"identifier":"UserNotifications-PageImage-card.png","type":"card"}],"kind":"symbol","navigatorTitle":[{"kind":"text","text":"User Notifications"}],"role":"collection","title":"User Notifications","type":"topic","url":"\/documentation\/usernotifications"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationCategory":{"abstract":[{"text":"A type of notification your app supports and the custom actions that the system displays.","type":"text"}],"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"UNNotificationCategory"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"UNNotificationCategory"}],"role":"symbol","title":"UNNotificationCategory","type":"topic","url":"\/documentation\/usernotifications\/unnotificationcategory"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationCategory/actions":{"abstract":[{"text":"The actions to display when the system delivers notifications of this type.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"actions"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UNNotificationAction","text":"UNNotificationAction"},{"kind":"text","text":"]"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/actions","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"actions"}],"role":"symbol","title":"actions","type":"topic","url":"\/documentation\/usernotifications\/unnotificationcategory\/actions"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationCategory/categorySummaryFormat":{"abstract":[{"text":"A format string for the summary description used when the system groups the category’s notifications.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"categorySummaryFormat"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/categorySummaryFormat","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"categorySummaryFormat"}],"role":"symbol","title":"categorySummaryFormat","type":"topic","url":"\/documentation\/usernotifications\/unnotificationcategory\/categorysummaryformat"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationCategory/hiddenPreviewsBodyPlaceholder":{"abstract":[{"text":"The placeholder text to display when the system disables notification previews for the app.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"hiddenPreviewsBodyPlaceholder"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/hiddenPreviewsBodyPlaceholder","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"hiddenPreviewsBodyPlaceholder"}],"role":"symbol","title":"hiddenPreviewsBodyPlaceholder","type":"topic","url":"\/documentation\/usernotifications\/unnotificationcategory\/hiddenpreviewsbodyplaceholder"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationCategory/identifier":{"abstract":[{"text":"The unique string assigned to the category.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"identifier"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/identifier","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"identifier"}],"role":"symbol","title":"identifier","type":"topic","url":"\/documentation\/usernotifications\/unnotificationcategory\/identifier"},"doc://com.apple.usernotifications/documentation/UserNotifications/UNNotificationCategory/intentIdentifiers":{"abstract":[{"text":"The intents related to notifications of this category.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"intentIdentifiers"},{"kind":"text","text":": ["},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":"]"}],"identifier":"doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/intentIdentifiers","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"intentIdentifiers"}],"role":"symbol","title":"intentIdentifiers","type":"topic","url":"\/documentation\/usernotifications\/unnotificationcategory\/intentidentifiers"},"https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPInternational/Introduction/Introduction.html#//apple_ref/doc/uid/10000171i":{"identifier":"https:\/\/developer.apple.com\/library\/archive\/documentation\/MacOSX\/Conceptual\/BPInternational\/Introduction\/Introduction.html#\/\/apple_ref\/doc\/uid\/10000171i","title":"Internationalization and Localization Guide","titleInlineContent":[{"text":"Internationalization and Localization Guide","type":"text"}],"type":"link","url":"https:\/\/developer.apple.com\/library\/archive\/documentation\/MacOSX\/Conceptual\/BPInternational\/Introduction\/Introduction.html#\/\/apple_ref\/doc\/uid\/10000171i"}},"variantOverrides":[{"patch":[{"op":"replace","path":"\/identifier\/interfaceLanguage","value":"occ"},{"op":"replace","path":"\/metadata\/platforms","value":[{"introducedAt":"11.0","name":"iOS"},{"introducedAt":"11.0","name":"iPadOS"},{"introducedAt":"13.1","name":"Mac Catalyst"},{"introducedAt":"10.14","name":"macOS"},{"introducedAt":"1.0","name":"visionOS"}]},{"op":"replace","path":"\/metadata\/roleHeading","value":"Instance Property"},{"op":"replace","path":"\/metadata\/title","value":"hiddenPreviewsBodyPlaceholder"},{"op":"replace","path":"\/metadata\/symbolKind","value":"property"},{"op":"replace","path":"\/metadata\/fragments","value":[{"kind":"identifier","text":"hiddenPreviewsBodyPlaceholder"}]},{"op":"replace","path":"\/hierarchy","value":{"paths":[["doc:\/\/com.apple.documentation\/documentation\/technologies","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory"]]}},{"op":"add","path":"\/topicSections","value":null},{"op":"add","path":"\/relationshipsSections","value":null},{"op":"replace","path":"\/seeAlsoSections","value":[{"anchor":"Getting-the-Information","generated":true,"identifiers":["doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/identifier","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/actions","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/intentIdentifiers","doc:\/\/com.apple.usernotifications\/documentation\/UserNotifications\/UNNotificationCategory\/categorySummaryFormat"],"title":"Getting the Information"}]},{"op":"replace","path":"\/primaryContentSections\/0","value":{"declarations":[{"languages":["occ"],"platforms":["iOS","iPadOS","Mac Catalyst","tvOS","visionOS","watchOS"],"tokens":[{"kind":"keyword","text":"@property"},{"kind":"text","text":" ("},{"kind":"keyword","text":"nonatomic"},{"kind":"text","text":", "},{"kind":"keyword","text":"copy"},{"kind":"text","text":", "},{"kind":"keyword","text":"readonly"},{"kind":"text","text":") "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSString","text":"NSString"},{"kind":"text","text":" * "},{"kind":"identifier","text":"hiddenPreviewsBodyPlaceholder"},{"kind":"text","text":";"}]},{"languages":["occ"],"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"@property"},{"kind":"text","text":" ("},{"kind":"keyword","text":"atomic"},{"kind":"text","text":", "},{"kind":"keyword","text":"copy"},{"kind":"text","text":", "},{"kind":"keyword","text":"readonly"},{"kind":"text","text":") "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSString","text":"NSString"},{"kind":"text","text":" * "},{"kind":"identifier","text":"hiddenPreviewsBodyPlaceholder"},{"kind":"text","text":";"}]}],"kind":"declarations"}},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationCategory\/title","value":"UNNotificationCategory"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationCategory\/fragments","value":[{"kind":"identifier","text":"UNNotificationCategory"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationCategory\/navigatorTitle","value":[{"kind":"identifier","text":"UNNotificationCategory"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationCategory~1actions\/title","value":"actions"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationCategory~1actions\/fragments","value":[{"kind":"identifier","text":"actions"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationCategory~1categorySummaryFormat\/title","value":"categorySummaryFormat"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationCategory~1categorySummaryFormat\/fragments","value":[{"kind":"identifier","text":"categorySummaryFormat"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationCategory~1hiddenPreviewsBodyPlaceholder\/title","value":"hiddenPreviewsBodyPlaceholder"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationCategory~1hiddenPreviewsBodyPlaceholder\/fragments","value":[{"kind":"identifier","text":"hiddenPreviewsBodyPlaceholder"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationCategory~1identifier\/title","value":"identifier"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationCategory~1identifier\/fragments","value":[{"kind":"identifier","text":"identifier"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationCategory~1intentIdentifiers\/title","value":"intentIdentifiers"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.usernotifications~1documentation~1UserNotifications~1UNNotificationCategory~1intentIdentifiers\/fragments","value":[{"kind":"identifier","text":"intentIdentifiers"}]}],"traits":[{"interfaceLanguage":"occ"}]}]}