This error tells you that something is not logging your touch events. The following word after " _windowServerHitTestWindow: ; layer = > " in your error message is important and may be something like UIWindow . In any case, this is something that does not register your touch.
The nib file for your UITabBarController class will look a little strange because it must also have a Window object.
But your Outlets and Referencing Outlets are probably connected correctly or you will not get this error. Therefore, I assume that your window has the wrong size settings.
I'm going to suggest that you want your application to work on all devices, including the iPhone and iPad.
- In your nib file, select the Window object.
- In the Attributes selector, set
Simulated Metrics > Size to Free Form and View > Mode to Zoom To Fill. - Now select the controller of the tab bar. Set
Simulated Metrics > Size to "Freeform", Orientation to "Inferred" and make sure the Resize View from NIB option is checked. - Then, in the Show the Size Inspector, set the simulated size to "Freeform" again and explicitly set the width and height to 768 and 1024.
source share