Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jagatnibas

macrumors regular
Original poster
Jul 28, 2008
126
0
Hi all,
I have already a webview on top of which i want to draw an uiview. this uiview should display when i click on the webview.

i guess i might have to something like this

UIView* myView = [[UIView alloc] initWithFrame:CGRectMake(0.0, 0.0, 300.0, 300.0)];
myView.center = self.center;
self.iView = myView;
[myView release];
[self addSubview:iView];


doubts.
1. I want to only display when it is clicked on UIWebview on that location
2. when tapped other place it should hide.

please give me some ideas

regards
Jagat
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.