Iphone development
Wednesday, September 15, 2010
How To Read a File From Your Application Bundle
-(void)viewDidLoad
{
NSString *myfile = [[NSBundle mainBundle] pathForResource:@"test" ofType:@"pList"];
test=[[NSArray alloc]initWithContenstOfFile:myfile];
[Super viewDidLoad];
}
http://iphoneincubator.com/blog/tag/nsbundle
for help :)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment