i was digging on "How to get data from UIPasteboard while App is in background state"
but could not find something useful.
i followed this Link
and this but not helpful. any suggestions will be appreciated.
Asked
Active
Viewed 447 times
2

Community
- 1
- 1

Vatsal Shukla
- 1,274
- 12
- 25
-
Should see this http://blog.daanraman.com/coding/monitor-the-ios-pasteboard-while-running-in-the-background/ – Blind Ninja Aug 13 '15 at 13:06
-
@HarvantS. , thanks for sooner reply :) – Vatsal Shukla Aug 13 '15 at 13:08
-
1That tutorial have every thing you want. I just tested on device. – Blind Ninja Aug 13 '15 at 13:18
-
@HarvantS. , please, add as answer and i will accept it as answer :) – Vatsal Shukla Aug 13 '15 at 13:54
-
Ok so answer is deleted. You asked about pasteboard notification? what do you want to know. As i know there are 4 type of notifications. – Blind Ninja Aug 14 '15 at 08:25
1 Answers
0
Daan Raman had a tutorial here. It have everything you want.
There are total 4 type of UIPasteboardNotifications
UIPasteboardChangedNotification;
UIPasteboardChangedTypesAddedKey;
UIPasteboardChangedTypesRemovedKey;
UIPasteboardRemovedNotification;
UIPasteboardChangedNotification
generate notification when the pasteboard item changed. UIPasteboardChangedTypesRemovedKey
and UIPasteboardRemovedNotification
are the changes which are mode in pasteboard dictionary. UIPasteboardRemovedNotification
when an app remove the pasteboard object.

Blind Ninja
- 1,063
- 13
- 28