iOS App崩溃问题`[UIWindow warpPoint:]`

时间:2012-09-18 14:32:22

标签: objective-c ios

我在我的应用中发现了一个奇怪的崩溃问题,我无法从崩溃报告中获得足够的消息。

以下是崩溃报告:

 -[TileLayer _isChargeEnabled]: unrecognized selector sent to instance 0x14aeadb0
(null)
(
    0   CoreFoundation                      0x376298a7 __exceptionPreprocess + 186
    1   libobjc.A.dylib                     0x3169e259 objc_exception_throw + 32
    2   CoreFoundation                      0x3762ca9b -[NSObject doesNotRecognizeSelector:] + 174
    3   CoreFoundation                      0x3762b915 ___forwarding___ + 300
    4   CoreFoundation                      0x37586650 _CF_forwarding_prep_0 + 48
    5   UIKit                               0x30775e43 -[UIWindow warpPoint:] + 686
    6   UIKit                               0x3075c1ff _UIApplicationHandleEvent + 2438
    7   GraphicsServices                    0x3777922b PurpleEventCallback + 882
    8   CoreFoundation                      0x375fd523 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 38
    9   CoreFoundation                      0x375fd4c5 __CFRunLoopDoSource1 + 140
    10  CoreFoundation                      0x375fc313 __CFRunLoopRun + 1370
    11  CoreFoundation                      0x3757f4a5 CFRunLoopRunSpecific + 300
    12  CoreFoundation                      0x3757f36d CFRunLoopRunInMode + 104
    13  GraphicsServices                    0x37778439 GSEventRunModal + 136
    14  UIKit                               0x3078bcd5 UIApplicationMain + 1080
    15  Movie                               0x00022eb3 _mh_execute_header + 7859
    16  Movie                               0x00022e40 _mh_execute_header + 7744
)

1 个答案:

答案 0 :(得分:0)

嗯,这意味着您尝试将消息(a.k.a调用方法)_isChargeEnabled传递给类TileLayer的对象,但它不存在。

<强>更新 我做了一个快速的谷歌搜索,结果_isChargeEnabled是Apple的私有API。您可以查看thisthis了解详情。