0

iOS 7 でカスタム AlertView を作成するために UIInterpolatingMotionEffect を使用しています。iOS 7 デバイスでは正常に動作しますが、iOS 6 以下のデバイスでは以下のエラーでクラッシュします。

どんな助けでも大歓迎です。

dyld: シンボルが見つかりません: _OBJC_CLASS_$_UIInterpolatingMotionEffect

参照元: /Users/kashif/Library/Application Support/iPhone Simulator/6.1/Applications/653D5FF9-1B55-4FFA-B608-4B2077CD0DFA/MyTest.app/MyTest

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/UIKit.framework/UIKit in /Users/kashif/Library/Applicationサポート/iPhone シミュレーター/6.1/アプリケーション/653D5FF9-1B55-4FFA-B608-4B2077CD0DFA/MyTest.app/MyTest

4

2 に答える 2

1

クラスのヘッダー行を見てください。

NS_CLASS_AVAILABLE_IOS(7_0) @interface UIMotionEffect : NSObject <NSCopying, NSCoding>

iOS7からのみ利用可能です。

于 2013-10-29T09:10:11.390 に答える