Why I can write information to plist on simulator
But can't do this on real iphone/ipod device ????
Is there exist an absolute path to put a .plist file in xcode project ???
Thanks for all reply and answers ~
code : this how I write text to plist from textfield
NSString *plistPath = [[NSBundle mainBundle] pathForResource:@"Password" ofType:@"plist"];
NSMutableDictionary *propertyList = [[NSMutableDictionary alloc] initWithContentsOfFile:plistPath];
[propertyList setValue:serialNumber.text forKey:@"serial_number"];
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…