具有3个按钮的UIAlertView在横向模式下隐藏消息 [英] UIAlertView with 3 buttons hides message in landscape mode

查看:94
本文介绍了具有3个按钮的UIAlertView在横向模式下隐藏消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的UIAlertView有一条消息和3个按钮,我的问题是警报视图通常以纵向显示,但是在横向模式下隐藏消息,如下面的屏幕截图所示.如何使消息出现?预先感谢.

My UIAlertView has a message and 3 buttons, my problem is the alert view display normally in portrait but it hides message in landscape mode as below screenshots. How to make the message appears? Thanks in advance.

推荐答案

我也遇到了同样的问题,

I too got same problem,

但是我做了一个小的改动就解决了这个问题.就像在alertView

But I solved this, with a small change. like add "\n\n" at the end of Title in the alertView

这不是正确的解决方案.但这将在某种程度上纠正该问题.

This is not a correct solution. but this will rectify that problem some what.

*注意:标题"和消息"应为一行文字.

*Note : The Title and the Message should be of one line text.

谢谢

萨蒂亚

这篇关于具有3个按钮的UIAlertView在横向模式下隐藏消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆