Reputation: 667
Am getting the above warning at NSAssert(bgTask == UIBackgroundTaskInvalid,nil) line. Am working on Xcode4.5.1 with IOS SDK6.0. If any one know the reason, please let me know.
Upvotes: 0
Views: 58
Reputation: 89509
"NSAssert
" is expecting a NSLog / printf style format string as it's second argument. If you provide one (instead of "nil
"), that warning will go away.
Upvotes: 1