Monday, December 16, 2013

Create Menu Items For UIWebView


Hi all,

I know this is one of the simplest task for many still i thought to write down a small sample on it.
Hoping it may help someone..

1. Create a new Single view Application



2.  Save the project



3.  This is the basic App structure :



4.  Open StoryBoard and add a UIWebView from the toolbar



5. Make WebView Outlet Connections




6. Add an IBOutLet for the UIWebView

7.  InViewController.m add following : 





8. Now run the code and see the work : 

9. Now try to select any part and you can see the menu items created by you.















No comments:

Post a Comment