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.
精彩评论