RT:如何监控剪贴板内容?
[[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(addword:) name:UIPasteboardChangedNotification object:[UIPasteboard generalPasteboard]];
[[UIPasteboard generalPasteboard] addObserver:self forKeyPath:@"string" options:NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld context:nil];
我尝试使用通知和kvo方式来找到无法实现的