pathForResource:ofType: iOS bug?
pathForResource:ofType: iOS bug?
- Subject: pathForResource:ofType: iOS bug?
- From: Jeff Smith <email@hidden>
- Date: Sun, 07 Jul 2013 20:34:00 -0400 (EDT)
Hi,
pathForResource:ofType: is returning a path string with 4 garbage characters added to the end of the string.
To make sure it wasn't my program causing the problem I created a new iOS project to try it out and it does it too.
Empty Application
Devices - Universal
No - Use Core Data
No - Use ARC
No - Include Unit Tests
I added this to the end of application:didFinishLaunchingWithOptions:
NSString *path = [[NSBundle mainBundle] pathForResource:@"Default" ofType:@"png"];
Anyone else have this problem?
thanks
Jeff
OS X 10.7.5
Xcode 4.6.3
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden