I’m new to both Objective-C and the iPhone SDK in general, so please bear with the noob question.
I’ve successfully implemented a table view with an array for the title, subtitle and cell icon and it’s working out great. What I’d like to do is load a PDF file depending on which cell is selected and I understand that a Web View seems to be the best option?
I’ve hit a block, I can’t add a navigation controller to the existing table view in the xib file (I started as a single view application) and everything that I’m reading around the interwebs is suggesting starting out in a different way. Either I’m doing something completely wrong or I’ve missed something entirely.
So is there anyway that I can implement this Navigation Controller and Web View with what I currently have or am I going to have to start again, copying and pasting various bits of code?
Any help appreciated.
Cheers.
Matt.
If you have a XIB file that represents a
UITableView, then what you should be able to do is:1) When presenting your
UITableView:2) In your
UITableView, when a cell is pressed: