I am using a xib based view, and creating the view controllers for the tabbar programatically. I am also using ios 7 and I keep getting this message when I try to perform gestures or change tabs, of course the tabs don't change views ....
Anyone know whats going on ? I have search google and nothing comes up.
2014-09-11 16:28:38.730 Deskercise[30056:1497359] unexpected nil window in _UIApplicationHandleEventFromQueueEvent, _windowServerHitTestWindow: ; layer = >
This error is telling you something is not registering your touch events. The next word after " _windowServerHitTestWindow: ; layer = >
" in your error message is important and might be something like UIWindow
. Anyway, it's whatever is not registering your touches.
The nib file for your UITabBarController
class will look a little weird because it needs to have a Window
object, too.
But your Outlets
and Referencing Outlets
are probably hooked up right or you wouldn't get this error. So my guess is your window has the wrong size settings.
I'm going to assume you want your app to work on all the devices, including iPhone and iPad.
Simulated Metrics > Size
to "Freeform" and the View > Mode
to "Scale to Fill".Simulated Metrics > Size
to "Freeform", Orientation
to "Inferred" and make sure Resize View from NIB is checked.I found a simple solution that worked for me in the Developer Forums.
Just make sure the "Full Screen at Launch" checkbox is on for the window.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With