Post

Replies

Boosts

Views

Activity

Comment on NSuserdefault issue after restart my iphone
im using my iphone to run my app.The strange thing is the same code i put it in my another xcode project ,that's alright. But this project it will save my default data correctly only if i stay in the app. once i close it ,it will disappear NSUserDefaults *def = [NSUserDefaults standardUserDefaults]; [def setValue:@"1" forKey:@"pushisYes"]; NSString *isY = [[NSUserDefaults standardUserDefaults] objectForKey:@"pushisYes"];
Topic: App & System Services SubTopic: General Tags:
Jun ’25
Comment on NSuserdefault issue after restart my iphone
strange thing is, the same code to save value by using userdefault.Another project is all good,and its not disappear after swiping up the app.But in this project, it can not save and remove correctly.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Comment on NSuserdefault issue after restart my iphone
strange thing is, the same code to save value by using userdefault.Another project is all good,and its not disappear after swiping up the app.But in this project, it can not save and remove correctly.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Comment on NSuserdefault issue after restart my iphone
strange thing is, the same code to save value by using userdefault.Another project is all good,and its not disappear after swiping up the app.But in this project, it can not save and remove correctly.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Comment on NSuserdefault issue after restart my iphone
strange thing is, the same code to save value by using userdefault.Another project is all good,and its not disappear after swiping up the app.But in this project, it can not save and remove correctly.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Comment on NSuserdefault issue after restart my iphone
strange thing is, the same code to save value by using userdefault.Another project is all good,and its not disappear after swiping up the app.But in this project, it can not save and remove correctly.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Comment on NSuserdefault issue after restart my iphone
strange thing is, the same code to save value by using userdefault.Another project is all good,and its not disappear after swiping up the app.But in this project, it can not save and remove correctly.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Comment on NSuserdefault issue after restart my iphone
strange thing is, the same code to save value by using userdefault.Another project is all good,and its not disappear after swiping up the app.But in this project, it can not save and remove correctly.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Comment on NSuserdefault issue after restart my iphone
strange thing is, the same code to save value by using userdefault.Another project is all good,and its not disappear after swiping up the app.But in this project, it can not save and remove correctly.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Comment on NSuserdefault issue after restart my iphone
strange thing is, the same code to save value by using userdefault.Another project is all good,and its not disappear after swiping up the app.But in this project, it can not save and remove correctly.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Comment on NSuserdefault issue after restart my iphone
I checked. its working and all right if i stay in the app.Once i close it and restart the app ,userDefaults data is gone.But not all gone ,the newest i add to userDefaults is gone
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Comment on NSuserdefault issue after restart my iphone
im using my iphone to run my app.The strange thing is the same code i put it in my another xcode project ,that's alright. But this project it will save my default data correctly only if i stay in the app. once i close it ,it will disappear NSUserDefaults *def = [NSUserDefaults standardUserDefaults]; [def setValue:@"1" forKey:@"pushisYes"]; NSString *isY = [[NSUserDefaults standardUserDefaults] objectForKey:@"pushisYes"];
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25