Created
June 22, 2013 09:32
-
-
Save ikekou/5840160 to your computer and use it in GitHub Desktop.
[Objective-C] アプリのパッケージング時に含んだファイルのURLを取得する
This file contains 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 *path = [[NSBundle mainBundle] pathForResource:@"sample" ofType:@"mp4"]; | |
NSURL *url = [NSURL fileURLWithPath:path]; | |
NSLog(@"%@",url.absoluteString); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment