Reputation: 23596
I have done this Example for implementation of the WebView. here is the link
But in My application i want to set it to load on the Button click event. If the Above link Example there is no any xib file needed. But in My Application i have made the XIB file to load. So How can i implement it on My own XIB file on button pressed Event ???
Upvotes: 1
Views: 781
Reputation: 14427
Open your xib file and use the assistant editor to create an IBAction for your UIButton. Then in the method that is created for you in your .m file instantiate and present the WebView.
Upvotes: 1