开发者

Ipad - actionsheet not showing all buttons in landscape mode when keyboard is present

开发者 https://www.devze.com 2023-01-18 00:53 出处:网络
I am developing an Ipad application. It supports both landscape and portrait mode. The app has keyboard.It also shows an action sheet wit开发者_Go百科h 4 buttons when required.

I am developing an Ipad application. It supports both landscape and portrait mode. The app has keyboard.It also shows an action sheet wit开发者_Go百科h 4 buttons when required. In portrait mode it works perfectly. But in landscape mode action sheet only show 2 buttons when keyboard is there .Without keyboard it show all 4 buttons. any solution?


If the actionsheet doesnt have a textfield or anything to type in, dont display the keyboard. If you need the keyboard after you dismiss the actionsheet, then display the keyboard in your actionsheet dismiss delegate.

0

精彩评论

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