Last active
January 6, 2016 15:32
-
-
Save baphillips/6736925 to your computer and use it in GitHub Desktop.
In iOS 7 NSBundle pathForResource:ofType:inDirectory: continued to return nil. It is believed that this is a bug in the SDK. Here is what I used in the meantime.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSString *bundlePath = [[NSBundle mainBundle] bundlePath]; | |
NSString *filePath = [bundlePath stringByAppendingPathComponent:@"image.png"]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment