I’m curious, and I think the book should explain this - why all of a sudden HypnosisView doesn’t respond to motion events as before (at the beginning of the chapter)?
Even if you set it to becomeFirstResponder in the loadView method (or anywhere else) it simply refuses to become first responder, even though there is no other first responder (and the canBecomeFirstResponder still returns YES), until you bring in the tab controller. Then it’s just like before.
Obviously the big difference is now there’s a view controller sitting between the UIView and the AppDelegate, but what specifically causes this behavior where the UIView no longer responds to becomeFirstRespnder?
I think this is an issue that should be touched on in the book, since the last chapter dealt so heavily in adding the motion functionality into the UIView.