0
当使用NSSharingService弹出窗口时,搜索解决方案以了解取消操作时NSSharingService何时关闭。 如果发布(上NSSharingServiceNamePostOnTwitter NSSharingServiceNamePostOnFacebook或分享Tweet按钮后)时,你可以使用委托弹出关闭:如何捕获NSSharingService关闭事件
- (void)sharingService:(NSSharingService *)sharingService didShareItems:(NSArray *)items
或将共享项目之一:
- (void)sharingService:(NSSharingService *)sharingService willShareItems:(NSArray *)items
但如何知道什么时候正在使用关闭按钮关闭?