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.
- In your nib file, choose the Window object.
- In the Attributes selector, set the
Simulated Metrics > Size
to "Freeform" and the View > Mode
to "Scale to Fill".
- Now choose the Tab Bar Controller. Set
Simulated Metrics > Size
to "Freeform", Orientation
to "Inferred" and make sure Resize View from NIB 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.