Roi*_*ddi 6 ios uistoryboardsegue swift xcode7
我在Swift中使用自定义segue(简化):
import Foundation
public class CustomSegue: UIStoryboardSegue {
override public func perform() {
super.perform()
}
}
Run Code Online (Sandbox Code Playgroud)
将该类设置为故事板上的segue类,在iOS 9上完美运行时在IOS 8上导致运行时错误:
[APP_NAME.CustomSegue setUseDefaultModalPresentationStyle:]:无法识别的选择器发送到实例
我使用Present Modally虽然在使用任何其他segues类型时遇到类似的错误.
| 归档时间: |
|
| 查看次数: |
391 次 |
| 最近记录: |