views:

183

answers:

0

Hi all, I'm creating a myDb.plist file in my resources folder and trying to read it, but it's not getting read. I'm using the following code.

NSString* plistPath = [[NSBundle mainBundle] pathForResource:@"myDb" ofType:@"plist"];
contentArray = [NSArray arrayWithContentsOfFile:plistPath];

contentArray is showing null.

Can anybody please help me?

Thanx in advance.