Quantcast
Channel: 睿论坛 - 最新话题
Viewing all articles
Browse latest Browse all 5702

问一下daemon和app如何进行通讯

$
0
0

@sqlite wrote:

我创建了一个daemon轮询服务器,如果服务器有数据下发,就发送给我的应用。
我首先想到了用CFNotificationCenter发通知给我的应用,但使用CFNotificationCenterGetLocalCenter发送,应用端收不到,使用CFNotificationCenterGetDarwinNotifyCenter发送,虽然可以收到,但是无法传递userInfo,所以特来询问!

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 5702

Trending Articles