In your example you are not adding the scroll view to any superview. Try adding this line [self.window addSubview: myScrollView];
before calling becomeFirstResponder
.
The documentation on becomeFirstResponder
states that
You may call this method to make a responder object such as a view the first responder. However, you should only call it on that view if it is part of a view hierarchy. If the view’s window property holds a UIWindow object, it has been installed in a view hierarchy; if it returns nil, the view is detached from any hierarchy.