Buttons Location on View
Hi,
I've created a simple application based on 2 views:
1st view: holds buttons. once clicked on one of the buttons it opens the second view.
2nd view: holds a photo. once clicking anywhere it gets back to the first view.
the buttons location is set in Interface Builder and the images displayed in them is set via code from the bundle.
The problem:
When the app is loaded the buttons are aligned to the view top (even though in Interface Builder they are not aligned to the top). Once one of the button is clicked and we are in the second view and then get back to the first view, the buttons alignment is OK (like I had set them in IB).
Nowhere in the code I do anything that relates to the buttons location.
How do I make them be aligned as I originally set them all the time?
|