Anyone Use The GMGridView Component?

Discussion in 'iOS Programming' started by loon3y, Jan 28, 2014.

  1. loon3y macrumors 65816


    Oct 21, 2011
    Ever since iOS7, when starting my app in landscape mode, the right part of the grid view is not responsive (can't scroll up and down in the area nor can i select a item). Pretty much a quarter of the screen up and down.

    Not only that, when you select an item a pop up view comes up, and even when in the popup view comes up (which is not part of the GMGridView) it's still not responsive in the same area.

    The funny thing is, when you go to a different view (any view, our app utilizes the tab bar) and come back, its fine. But this is unacceptable, it just looks and gives a bad feeling to our end users and its just unprofessional.

    We tried a multitude of things, we thought it was an orientation problem, auto resizing. We're just having a hard time, I'm just wondering if anyone ran into the same problem.

    In iOS 6 it was fine. In our next version we intend to use collections view, but we just don't have the time to implement it as of right now.

    here are pictures



    Edit: in the example source code, there is no problem. Spent the whole day, and still no closer to a solution
  2. Duncan C macrumors 6502a

    Duncan C

    Jan 21, 2008
    Northern Virginia
    Dunno. I have some questions to spur your thinking though.

    Is the area the IS responsive 768 points wide, by any chance? It looks to me like the clickable part of the window is somehow locked to portrait width, and when you rotate to landscape, it doesn't get wider.

    In your second screen-shot, is are the + and - buttons part of the grid-view, or are they separate controls in your view controller? If they are not part of/contained by the grid view then that suggests the problem is not with the grid view but a more global problem with your view controller.''

    Are you using AutoLayout or struts-and-springs? AutoLayout can be balky.

    And if you're not using Storyboards, every single nib-file you create starts out with AutoLayout turned on, and it can be very confusing if you have an outlier VC that is using AutoLayout when the rest of your app is not.

  3. ArtOfWarfare macrumors G3


    Nov 26, 2007
    Collection views are fairly trivial to implement - I'd suggest making the time now to swap over.
  4. loon3y thread starter macrumors 65816


    Oct 21, 2011
    ok, so after getting rid of the grid view and among other 100s of things.

    when i got rid of the slide menu, in our app than this bug did not occur.

    this sliding menu is the thing causing the problem. i've just figured it out, so I'm going too look into the coding for our slide menu.

    maybe the touch area needs to be extended to fit this slide menu?

  5. loon3y thread starter macrumors 65816


    Oct 21, 2011

Share This Page