0

I have created an interface using interface builder with a tabBarController. This tabBar controller has three viewControllers. There is a problem with the last one, that displays an image View and a toolBar on top of the screen. The toolbar contains two buttons and a label. Sometimes, when there is an image, it doesn't appear.Any idea why ?

Here are some snapshots:

when the toolbar appears when the toolbar doesn't appear

View in Interface Builder

After the change Douglas advised me:

enter image description here

Pao
  • 206
  • 3
  • 10
  • Any progress? Let us know, would love to see how things turned out for future reference. – Douglas Jan 26 '13 at 00:10
  • I finally resolved this problem by replacing the label on the top (here showing Plaine de Plainpalais) by a tabBarItem and by resizing the UIView (now it's not under the tab and the toolbar). Thank you for your interest in this matter – Pao Jan 27 '13 at 15:08

1 Answers1

0

You may have a restraint between the imageview and the toolbar so that when the image view is displayed it pushes the toolbar up to high and you can't see it. I would check the restraints and adjust. Hope this helps.

Douglas
  • 2,524
  • 3
  • 29
  • 44
  • I have thought of that but even when i make my UIimage view small, the toolbar doesn't (always) show up. – Pao Jan 23 '13 at 14:47
  • I tried to replicate what you did, but my toolbar always shows. Are you sure that you placed it fully inside the view? Or did you place it in its own uiview? – Douglas Jan 24 '13 at 13:32
  • Click on the toolbar, then go to the menu at the top and select editor(I'm pretty sure it's called editor, not at my comp right now) and select arrange. Make sure the tab bar is not being covered by any other view by sending to front. – Douglas Jan 24 '13 at 15:51
  • Thank you for your answer! Now the problem has slightly changed! I will upload a new image .. – Pao Jan 24 '13 at 16:06
  • In the storyboard pane have you maybe selected the iPhone 5 size, and running the sim in iPhone 4 mode? There is a small toggle switch next to the align and pin buttons. Try that. – Douglas Jan 24 '13 at 16:44