Post

Replies

Boosts

Views

Activity

NSUserDefaults might be NULL when app is launched
Dear all,We have a universal application which we save some trivial information in NSUserDefaults. When the app is launched, we should definitely read some value from NSUserDefaults. We have hundreds of iPad and iPhone users; but in some iPhone users (a very very small portion), all values in [NSUserDefaults standardUserDefaults] might be NULL when app is launched. Removing app from the background and re-opening it solves the problem.This happens in iOS9 and iOS8 as well, where app is built with iOS8.Is this a bug known from Apple?Thanks,
11
0
11k
Dec ’15