11 Replies Latest reply on Aug 25, 2014 11:22 PM by Jochem Pouwels

    Grey screen when tabswitching on iOS

    Jochem Pouwels

      I found this bug which only happens on iOS.

      I discovered it with my own project but it also happens with the default project of rhomobile. So ill use that as a reference


      The only thing I did was create a tabbar like this:


            :label => "Shop",
            :action => "/app",
            :selectedColor => 0x56B537,
            :backgroundColor => 0xb5bdc8
            :label => "Transacties",
            :action => "/app",
            :selectedColor => 0x56B537,
            :backgroundColor => 0xb5bdc8
            {:background_color => 0xF2EDF0, :iOS7SelectedColor => 0x56B537 , :place_tabs_bottom => true}, url_for(:action => :tabbar_callback)


      The thing that happens is this:
      I start the app (picture 1) and the screen shows just fine

      I rotate my device (picture 2) and the screen shows just fine horizontally

      I open a tab2 (picture 3) and the screen shows a grey rectangle on the right of the screen

      I rotate my device (picture 4) and the screen shows a grey rectangle again


      Picture 1

      Screen Shot 2014-08-08 at 9.21.55 AM.png


      Picture 2

      Screen Shot 2014-08-08 at 9.22.19 AM.png


      Picture 3

      Screen Shot 2014-08-08 at 9.22.33 AM.png


      Picture 4

      Screen Shot 2014-08-08 at 9.22.50 AM.png


      This only happens when I open tab2 initially with horizontal screen, if I open tab2 with vertical screen I can just switch between orientation just fine


      Anyone has a fix or idea why this happens??