Detecting syncing event for iOS
Is there any way if my iphone app can detect if the user is trying to sync the iphone d开发者_StackOverflow社区evice when the app runs? My app crashes a lot when this syncing occurs...
Your App Delegate receives a applicationWillResignActive:
call, nothing more. You can't be sure if its because of syncing or because your user got a call.
About the crashes, make sure that you respond to memory warnings by freeing up as much memory as possible for the system, this should solve the problem in 99% of the cases.
精彩评论