Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

loon3y

macrumors 65816
Original poster
Oct 21, 2011
1,235
126
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.

http://github.com/gmoledina/GMGridView

here are pictures

20pacrb.png



169qc9h.png



Edit: in the example source code, there is no problem. Spent the whole day, and still no closer to a solution
 
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.



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.

http://github.com/gmoledina/GMGridView

here are pictures

Image


Image


Edit: in the example source code, there is no problem. Spent the whole day, and still no closer to a solution
 
Collection views are fairly trivial to implement - I'd suggest making the time now to swap over.
 
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?

wa1snk.png
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.