resourceURL equivalent before iOS 4

[[NSBundle mainBundle] resourceURL]

is same as

[NSURL fileURLWithPath:[[NSBundle mainBundle] resourcePath]]

I need to use it a lot while making local html pages to show in UIWebView. Just to remember. 🙂

author avatar
Vinay Chavan
Engineering Management | Product Management | Technology Solution Provider | Collaborator, Educator, Mentor, Coach | Enabling People to Improve Through Guided Execution