Contents

sizeLimitExceededNotification

Posted when the amount of data in the defaults database exceeds the allowed maximum.

Declaration

class let sizeLimitExceededNotification: NSNotification.Name

Discussion

In tvOS, the system posts this notification as a warning when the size of your app’s defaults database reaches 512 kilobytes. If your app continues to write to the defaults database, the system terminates your app when the database reaches or exceeds 1 megabyte in size. The system doesn’t post size exceeded notifications for other platforms.

The system posts this notification on your app’s main thread.

See Also

Monitoring settings changes and issues