Adding swipe recognizer to the second view
I have a nib file with two view (portrait and landscape). I have added swipe recognizer to it. But the swipe is not bein开发者_如何学编程g recognized in landscape view, it works fine in portrait view. Please help. Thank you.
May be you have added the same gesture in two views so try adding two different gesture in two views , because A gesture could have one view to attach with but a view could have multiple gesture attach to with.
精彩评论