Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Objective-C] アプリのパッケージング時に含んだファイルのURLを取得する
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