我在我的應用程序中使用Crashlytics。下面是我有一個艱難時期通過我的崩潰日誌...UIKIT錯誤字符串
我得到的錯誤
哇!太低了......! 24小時59分鐘是最大計時器間隔,現在爲 ...
這是一個與UIKIT相關的錯誤。
有關如何解決它的任何建議?
...
CoreFoundation
__exceptionPreprocess + 162
1 libobjc.A.dylib
objc_exception_throw + 32
2 CoreFoundation
+[NSException raise:format:]
3 Foundation
-[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 90
4 UIKit
-[UIDatePickerView _updateRowInColumn:toValue:withRepeatingAmount:element:animated:] + 538
5 UIKit
-[UIDatePickerView _loadDateAnimated:] + 264
6 UIKit
-[UIDatePickerView _updateBitsForDate:forced:andReload:animateIfNeeded:] + 696
7 UIKit
-[UIDatePickerView _setDate:animated:forced:] + 348
8 UIKit
-[UIDatePickerView setDate:animated:] + 30
9 UIKit
-[UIDatePicker setDate:] + 36
10 App ✭ EditAccountViewController.m line 571
-[EditAccountViewController textFieldDidBeginEditing:] + 571
11 UIKit
-[UITextField _becomeFirstResponder] + 402
12 UIKit
-[UIResponder becomeFirstResponder] + 336
13 UIKit
-[UITextInteractionAssistant setFirstResponderIfNecessary] + 174
14 UIKit
-[UITextInteractionAssistant oneFingerTap:] + 1608
15 UIKit
_UIGestureRecognizerSendActions + 106
16 UIKit
-[UIGestureRecognizer _updateGestureWithEvent:] + 304
17 UIKit
___UIGestureRecognizerUpdate_block_invoke_0541 + 48
18 UIKit
_UIGestureRecognizerApplyBlocksToArray + 176
19 UIKit
_UIGestureRecognizerUpdate + 898
20 UIKit
_UIGestureRecognizerUpdateGesturesFromSendEvent + 28
21 UIKit
-[UIWindow _sendGesturesForEvent:] + 774
22 UIKit
-[UIWindow sendEvent:] + 88
23 UIKit
-[UIApplication sendEvent:] + 356
24 UIKit
_UIApplicationHandleEvent + 5826
25 GraphicsServices
PurpleEventCallback + 882
26
...
CoreFoundation
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 38
32 UIKit
UIApplicationMain + 1080
33 App main.m line 15
main + 15
34 App
start
該應用程序告訴我崩潰的線accuring上是遵循
_birthDatePicker.date = _birthDate;
我想出了完全相同的問題。當將'0002-11-30 00:00:00 + 0000'設置爲DatePicker.date時,「哇!」剛出現。我所能做的就是強制將這種日期設置爲'1900-11-30 00:00:00 + 0000',以避免崩潰。非常感謝,如果有人有任何想法。 – BabyPanda
我通過電子郵件發送了蘋果,他們說它存在過錯和uikit中的錯誤......我們無能爲力。 – Luke
至少我們現在知道原因。我的問題是因爲將核心數據存儲爲「0000-00-00 00:00:00 + 0000」,因此數據庫似乎將其自動存儲爲'0002-11-30 00:00: 00 + 0000'。 – BabyPanda