|Oct 27, 2009, 03:44 PM||#1|
Press through UIView?
Im wondering if its possible to press right through a UIView?
I would like to have a button in the underlying view to recieve the press, but instead the view that is displayed on top is impeding this.
The view is placed on top of the underlying view using addSubview, so the underlying view is not pushed away or anything.
|Oct 27, 2009, 05:55 PM||#3|
Great, that was the clue I needed - thanks a lot
UIView *myView = [[UIView alloc] initWithFrame:frame]; // main view [view addSubview:myView2]; // subview [myView2 setUserInteractionEnabled:NO]; // disable interaction with subview
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Trying to subclass UIView||Hans Kamp||iPhone/iPad Programming||3||Mar 25, 2013 01:15 AM|
|How to use block for UIView animation?||mikezang||iPhone/iPad Programming||13||Nov 25, 2012 12:58 AM|
|Archiving Custom UIView||Ides||iPhone/iPad Programming||14||Aug 8, 2012 06:44 PM|
|Simple UIView Question||krayziekray||iPhone/iPad Programming||5||Jun 19, 2012 06:17 AM|
|make uiview transparent without having the uiview's buttons transparent||johnmerlino||iPhone/iPad Programming||7||Jun 1, 2012 03:20 AM|
All times are GMT -5. The time now is 06:29 PM.