简体   繁体   English

ActionSheetPicker替换ios 8

[英]ActionSheetPicker replacement for ios 8

In iOS 7 have been using ActionSheetPicker to let the user to select a choice and it has been working great until I installed Xcode beta 2 and ran my project in iOS 8. Is there a way to do this in iOS 8? 在iOS 7中一直使用ActionSheetPicker让用户选择一个选项,它一直运行良好,直到我安装Xcode beta 2并在iOS 8中运行我的项目。有没有办法在iOS 8中执行此操作?

Screenshots: http://imgur.com/a/Bs6Xl 截图: http//imgur.com/a/Bs6Xl

Thanks for your help in advance. 感谢您的帮助。

有一个分支ActionSheetPicker-3.0已经更新,适用于iOS 8。

I was facing the same issue and couldn't find a solution. 我遇到了同样的问题,无法找到解决方案。

I ended up using a UIViewController instead of UIActionSheet . 我最终使用的是UIViewController而不是UIActionSheet I added the UIPickerView as a subView to the viewController's view and presented in modally. 我将UIPickerView作为子视图添加到viewController的视图中,并以模态方式呈现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM