「ios開発」plistファイルの読み込む方法

サンプルコード:
NSString *path = [[NSBundle mainBundle] pathForResource:@"filename_startnews24″ ofType:@"plist"];
// file data type array
NSArray *array=[NSArray arrayWithContentsOfFile:path];
//file data type *dictionary
NSDictionary *dictionary = [NSDictionary dictionaryWithContentsOfFile:path];

IOS

Posted by arkgame