The application will not respond until the rotation / 2x appears on the iPad3

I wonder if anyone else will happen to them. I have an iPhone app that I’ve been updating for over a year, and it works great on iPad2, iPhone 3GS, as well as 4G, 4GS and 5. However, I recently got iPad3 for testing. The app is on. Something very strange happens: when an application is downloaded through Xcode during the development process, it appears and looks perfect - however, it will not respond to any touch at all . I have a warning that pops up when loading, and you can close it, but the actual main view controller will not respond to any drag and drop gestures - it is substantially frozen. But! When I rotate the device and the application rotates correctly, it suddenly starts working fine , even if I rotate it! The simulator for iPad running iOS6 in normal mode and the retina does the same, even if it works great on my iPad2. However, the iPhone simulator works just fine.

As I said, this does not happen on any other device. Even loaded in the same way, all devices allow you to slice as usual. Here is what I could confirm:

  • IPad3 device: frozen
  • iPad retina sim: frozen
  • iPad-normal sim: frozen
  • IPad2 device: normal
  • iPhone-retina sim: normal
  • iPhone-normal sim: normal
  • IPhone 4S device: normal
  • IPhone 4 device: normal

If all iPhones worked, but iPads didn’t, that would make sense. But my ipad2 works fine. In addition, if I use iPad3, open it, it will be frozen. BUT! If I press the 2X button, it will start working again even without rotation.

I also decided to check and see if it will work as a universal application. On iPad3 , when I switch it to Universal, it works great to start with . So something strange must happen to the simulator. Any ideas?

Thanks!!

-Mark

+8
ios objective-c iphone ipad screen-rotation
source share
1 answer

A view (in your case, all of this) that does not accept any input often means that one of the superviews has a frame size smaller than its contents. This can take place here, it is strange only in certain situations, when rotated, the view frame gets the correct size and remains correct afterwards.

Have you decided this in the meantime? You can try to give the views different transparent background colors and / or make them clipToBounds , starting with the top view controller's view. This way you will see that something is wrong with the frames.

0
source share

All Articles