开发者

Adding swipe recognizer to the second view

开发者 https://www.devze.com 2023-03-20 06:50 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消