I\'m trying to load a file into a string. Here is the code I\'m using:
NSError *error = nil; NSString *fullPath = [[NSBundle mainBundle] pathForResource:filename
I had the same error with you ,use file name with [[NSBundle mainBundle] pathForResource:@"pageList" ofType:@"txt"]] good luck!