Skip to content

Instantly share code, notes, and snippets.

@nishabe
Last active August 12, 2018 18:20
Show Gist options
  • Save nishabe/e39ff5d48f474e24c2e9c8bd958a12a4 to your computer and use it in GitHub Desktop.
Save nishabe/e39ff5d48f474e24c2e9c8bd958a12a4 to your computer and use it in GitHub Desktop.
OBJC:Get local path of a specific type file
NSString *htmlFile = [[NSBundle mainBundle] pathForResource:@"localHtmlSample" ofType:@"html"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment