登录成功用NSUserDefault存储数据,登录页面的用户名和密码已经保存成功,用真机或模拟器调试也是能保存成功,因为我保存数据之后点Home键之后再返回程序登录页面的用户名和密码数据还在,但是这里是有个问题一直没想通的是,程序在用真机或模拟器调试过程中,NSUserDefault存储数据,已经保存成功了,此时点击Xcode中的这个按钮
App退出到真机或模拟器桌面,之后点击App图标,登录页面的用户名和密码没了?这是为什么,有知道的不?
人生最曼妙的风景,竟是内心的淡定与从容!
Post the code and have a look.
synchronize, just write to the disk and you’re done
Use synchronize to synchronize and write to disk. It should be fine.
It should be that there is no synchronized localization
Post the code and have a look.
synchronize, just write to the disk and you’re done
Use synchronize to synchronize and write to disk. It should be fine.
It should be that there is no synchronized localization