ios - How to overlap the UIButton and UIImage in a View? -



ios - How to overlap the UIButton and UIImage in a View? -

i want overlap uiimageview , uibutton next picture.

the uiimageview behind 2 uibutton.

if set uiimageview behind these 2 button , how can sure uibutton not barricaded uiimageview ?

thanks in advance.

in order create sure buttons visible , events caught can utilize bringsubviewtofront.

uiimageview *myimageview = //..alloc, init; uibutton *button1 = //..alloc, init; uibutton *button2 = //..alloc, init; [self.view addsubview:myimageview]; [self.view addsubview:button1]; [self.view addsubview:button2]; [self.view bringsubviewtofront:button1]; [self.view bringsubviewtofront:button2];

ios objective-c uiimageview uibutton

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -