2012-09-18 35 views
1

我在我的應用程序中發現了一個奇怪的崩潰問題,我無法從崩潰報告中獲得足夠的消息。iOS應用程序崩潰問題`[UIWindow warpPoint:]`

這裏是崩潰報告:

-[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

請更詳細地描述iOS版本和錯誤出現的位置。這有助於人們真正回答你的問題。 – z3cko

回答

0

嗯,這意味着你試圖傳遞消息(a.k.a調用一個方法)_isChargeEnabled類TileLayer的對象,但它是不存在的。

UPDATE 我做了一個快速谷歌搜索,結果發現_isChargeEnabled是Apple的私有API。您可以檢查thisthis瞭解更多信息。

+0

但我的代碼中沒有這樣的方法。我想這是UIKit中的一種方法。 – LIGHT

+0

更新了我的答案!你在使用'MPMoviePlayerController'嗎?我提供的這些鏈接可能是相關的。 – Ravi