比如,我通过notify_post发送信息到SpringBoard进行录屏,但怎么把录之后的视屏返回到我的app呢,notify_post只能在两个app间发送通知,不能带数据。
用CPDistributedMessagingCenter,如果是在iOS 7+,还要配合rpetrich的RocketBootstrap
CPDistributedMessagingCenter不能在沙盒之间传值,想到了用CFNotificationCenterGetDarwinNotifyCenter,但是,值还是没传过去。
在沙盒之间传需要rpetrich的RocketBootstrap
RocketBootstrap只能单向
http://iphonedevwiki.net/index.php/RocketBootstrap#External_links
You shouldn’t be registering Mach services in sandboxed apps; RocketBootstrap allows exposing services to sandboxed apps, but can’t allow exposing services from sandboxed apps without exposing a very large security flaw.
有没有其他方案?