Type Property

didChangeNotification

Posted when the user changes the preferred content size setting.

Declaration

static let didChangeNotification: NSNotification.Name

Discussion

This notification is sent when the value in the preferredContentSizeCategory property changes. The userInfo dictionary of the notification contains the newValueUserInfoKey key, which reflects the new setting.

See Also

Size Change Notifications

static let newValueUserInfoKey: String

A key whose value is an NSString object reflecting the new value of the preferredContentSizeCategory property.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software