Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
NSUserDefault オブジェクトがそこに保存されているかどうかを「if」ステートメントで確認するにはどうすればよいですか? 私はそれをどのように呼ぶか本当にわかりません..とても短い質問です..
ありがとう
if ([[NSUserDefaults standardUserDefaults] objectForKey:@"Foo"] != nil) { NSLog(@"an object is saved under \"Foo\"!"); }