SFMCNotificationViewController
Objective-C
@interface SFMCNotificationViewController : UIViewController
Swift
class SFMCNotificationViewController : UIViewController
The base class for notification content extensions.
The notification content extension principal class should inherit from SFMCNotificationViewController
.
Note
SFMCNotificationViewController
fully manages UI rendering.
Do not implement or override any UIViewController
methods in the principal class
of the content extension, as doing so may interfere with UI rendering.
-
Override and implement this method to provide custom configuration, if needed. - see: SFContentExtensionConfig.
Declaration
Objective-C
- (nonnull SFMCContentExtensionConfig *)sfmcProvideConfig;
Swift
func sfmcProvideConfig() -> SFMCContentExtensionConfig
Return Value
the custom configuration that needs to set for content extension.