iPhone,iPad Application Development
Monday, 27 February 2012
Reading Text fille content from Application Bundle
NSString *filePath = [[
NSBundle
mainBundle
]
pathForResource
:
@"EAP"
ofType
:
@"txt"
];
NSString
*strData = [[
NSString
alloc
]
initWithContentsOfFile
:filePath];
NSLog
(
@"Info :%@",strData
);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment