ios - UIAlertView 转换不适用于 iOS7

标签 ios iphone objective-c transform uialertview

我有一个要转换到屏幕底部的 uialerview。以下代码似乎适用于 iOS 6 但不适用于 iOS7。我想知道是否还有其他方法可以做到这一点。

    alert.transform = CGAffineTransformTranslate(alert.transform, 0.0, -145.0);

最佳答案

您可能无法再使用标准的 UIAlertView 实现此目的,因为 Apple 已限制您只能对 iOS7 中的 AlertView 和 ActionSheets 等控件执行操作

可能值得看一些 alternatives to UIAlertView相反。

关于ios - UIAlertView 转换不适用于 iOS7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20503481/

相关文章:

iphone - 在 UINavigationController 中释放 View Controller

android - 我的客户如何通过我开发的移动应用获得报酬?

iphone - 如何在 UIWebView 的 html 页面中使用自定义字体?

ios - Crashlytics pod 仍在使用 UIWebView 生成 ITMS-90809 : Deprecated API Usage

ios - 应用程序显示安装了很长时间

objective-c - UITableViewController 释放

ios - 在 Storyboard 中创建的 UIViewController 中动态调整 UITableView 的大小

ios - removeFromSuperview 随机崩溃

ios - 使用不可变类分配任何可变对象,反之亦然

iphone - 使用带有动态呈现项目的 UIScrollView 消除滚动延迟