How keep NSTimer when application entering background?

后端 未结 3 1954
执笔经年
执笔经年 2020-12-15 11:53

I\'m here because a didn\'t find any solutions for my issue :(

I\'m doing an simple application in which i have to send (by socket) some informations to a server (li

3条回答
  •  -上瘾入骨i
    2020-12-15 12:23

    The iOS App Programming Guide lists the activities for which your app is allowed to remain active in the background. If you plan on distributing your app through the app store, your app will have to perform one of the listed activities. If you're just writing something for yourself, you might be able to piggyback your functionality on one of the allowed activities.

提交回复
热议问题