Reputation: 776
I have the following (buttons not show up when running the app somehow-they are behind my view, which is a Google Maps view by the way):
If I click on either buttons, go to Editor/Arrange there is no possibility of sending/arranging the buttons forward, only backward. Why is this happening? How can I make my buttons visible?
Upvotes: 0
Views: 449
Reputation:
You have added the UIButtons
inside the mapView
as subviews. Move them outside of it, simply drag them out of the MapView
and add them below it on the left column tree.
When you move them out, make sure they are BELOW the MapView
in the left column.
The ones below on the left tree are the ones that end up on TOP.
Upvotes: 1
Reputation: 4383
You have to put your UIButtons
out side the Map view
,
Something like this:
Upvotes: 0
Reputation: 2438
you can use this function
[self.myButton.superview bringSubviewToFront:self.myButton];
this will make myButton on top of all it's superview's views
apply it in the way you need it
Upvotes: 0