Plist Array to NSArray no objects

后端 未结 2 378
眼角桃花
眼角桃花 2020-12-18 16:34

So I\'ve searched, and read and have done this successfully before, but am running into a problem with this one.

I have a plist that is an array of strings. I get n

2条回答
  •  囚心锁ツ
    2020-12-18 16:57

    NSString *plistPath = [self copyFileToDocumentDirectory:plistFileName];
    NSDictionary *plistContents=[[NSDictionary alloc] initWithContentsOfFile:plistPath];
    
    [plistPath release];
    return  plistContents;
    

提交回复
热议问题