You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pasteboard Security and Privacy Changes in iOS 10
Starting in iOS 10, the Find pasteboard (identified with the UIPasteboardNameFind constant) is unavailable.
Persistent named pasteboards are deprecated in iOS 10. The system sets the persistence of all pasteboards automatically, with named pasteboards marked as nonpersistent and the systemwide general pasteboard marked as persistent. If you try to set the setPersistent: property on a pasteboard, Xcode issues a deprecation warning.
Instead of persistent named pasteboards, used shared containers. For information on shared containers, read about the containerURLForSecurityApplicationGroupIdentifier: method in NSFileManager, and read about the com.apple.security.application-groups entitlement key in Adding an App to an App Group in Entitlement Key Reference.
(Nonpersistent named pasteboards remain available. You can use these to implement such features as Duplicate or Copy Style. A nonpersistent named pasteboard is available only in the process that creates it.)
Starting in iOS 10 there is a new Handoff feature which allows the general pasteboard contents to automatically transfer between devices. You can control Handoff behavior for pasteboard contents, and can set a pasteboard to expire, by using the setItems:options: method, as follows:
To exclude a pasteboard from Handoff, call the setItems:options: method with the UIPasteboardOptionLocalOnly option.
To indicate an expiration time and date for copied data, call the setItems:options: method with the UIPasteboardOptionExpirationDate option. At the time and date that you set, the system removes the pasteboard items from the pasteboard.
Pasteboard Security and Privacy Changes in iOS 10
Starting in iOS 10, the Find pasteboard (identified with the UIPasteboardNameFind constant) is unavailable.
Persistent named pasteboards are deprecated in iOS 10. The system sets the persistence of all pasteboards automatically, with named pasteboards marked as nonpersistent and the systemwide general pasteboard marked as persistent. If you try to set the setPersistent: property on a pasteboard, Xcode issues a deprecation warning.
Instead of persistent named pasteboards, used shared containers. For information on shared containers, read about the containerURLForSecurityApplicationGroupIdentifier: method in NSFileManager, and read about the com.apple.security.application-groups entitlement key in Adding an App to an App Group in Entitlement Key Reference.
(Nonpersistent named pasteboards remain available. You can use these to implement such features as Duplicate or Copy Style. A nonpersistent named pasteboard is available only in the process that creates it.)
Starting in iOS 10 there is a new Handoff feature which allows the general pasteboard contents to automatically transfer between devices. You can control Handoff behavior for pasteboard contents, and can set a pasteboard to expire, by using the setItems:options: method, as follows:
To exclude a pasteboard from Handoff, call the setItems:options: method with the UIPasteboardOptionLocalOnly option.
To indicate an expiration time and date for copied data, call the setItems:options: method with the UIPasteboardOptionExpirationDate option. At the time and date that you set, the system removes the pasteboard items from the pasteboard.
https://developer.apple.com/documentation/uikit/uipasteboard?language=objc
The text was updated successfully, but these errors were encountered: