Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

点击保存后会崩溃 #2

Open
Longxr opened this issue Jul 5, 2017 · 1 comment
Open

点击保存后会崩溃 #2

Longxr opened this issue Jul 5, 2017 · 1 comment

Comments

@Longxr
Copy link

Longxr commented Jul 5, 2017

点击保存后会崩溃,重新进入后能看到保存的内容;然后撰写每次都会显示上一次保存的内容

@Longxr
Copy link
Author

Longxr commented Jul 5, 2017

2017-07-05 14:09:58.663 Diary_WhatsUrName?[3282:323256] *** Assertion failure in -[UIKeyboardTaskQueue scheduleTask:timeInterval:repeats:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3600.7.47/Keyboard/UIKeyboardTaskQueue.m:502
2017-07-05 14:09:58.669 Diary_WhatsUrName?[3282:323256] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIKeyboardTaskQueue(UIKeyboardScheduledTask) scheduleTask:timeInterval:repeats:] may only be called from the main thread.'
*** First throw call stack:
(
0 CoreFoundation 0x000000010487bb0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000103ecb141 objc_exception_throw + 48
2 CoreFoundation 0x000000010487fcf2 +[NSException raise:format:arguments:] + 98
3 Foundation 0x0000000103a65536 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 193
4 UIKit 0x00000001061414eb -[UIKeyboardTaskQueue(UIKeyboardScheduledTask) scheduleTask:timeInterval:repeats:] + 181
5 UIKit 0x00000001058da62a -[UIKeyboardImpl touchAutocorrectPromptTimer] + 209
6 UIKit 0x0000000105af0a74 -[UIKeyboardLayoutStar setKeyplaneName:] + 10017
7 UIKit 0x0000000105af6689 -[UIKeyboardLayoutStar showKeyboardWithInputTraits:screenTraits:splitTraits:] + 482
8 UIKit 0x00000001058c76cb -[UIKeyboardImpl finishLayoutChangeWithArguments:] + 518
9 UIKit 0x00000001058c7e32 -[UIKeyboardImpl updateLayout] + 1161
10 UIKit 0x00000001058c1a04 -[UIKeyboardImpl setDelegate:force:] + 2635
11 UIKit 0x0000000105cd7611 -[UIPeripheralHost(UIKitInternal) _reloadInputViewsForResponder:] + 948
12 UIKit 0x000000010581c62d -[UIResponder(UIResponderInputViewAdditions) reloadInputViews] + 81
13 UIKit 0x000000010581aef1 -[UIResponder _windowBecameKey] + 165
14 UIKit 0x00000001056819bb -[UIWindow _makeKeyWindowIgnoringOldKeyWindow:] + 421
15 UIKit 0x000000010566f025 -[UIWindow _setHidden:forced:] + 219
16 Diary_WhatsUrName? 0x00000001038c50b6 -[DWDiaryTipsView disappear] + 102
17 Diary_WhatsUrName? 0x00000001038ce2c1 __34-[DWDiaryTypingView buttonSaveTap]_block_invoke.100 + 65
18 libdispatch.dylib 0x0000000107ffd05c _dispatch_client_callout + 8
19 libdispatch.dylib 0x0000000107fd9c6e _dispatch_continuation_pop + 1020
20 libdispatch.dylib 0x0000000107fee9fc _dispatch_source_latch_and_call + 230
21 libdispatch.dylib 0x0000000107fe74f1 _dispatch_source_invoke + 1167
22 libdispatch.dylib 0x0000000107fdcb32 _dispatch_queue_override_invoke + 654
23 libdispatch.dylib 0x0000000107fdeec4 _dispatch_root_queue_drain + 634
24 libdispatch.dylib 0x0000000107fdebef _dispatch_worker_thread3 + 123
25 libsystem_pthread.dylib 0x00000001083945a2 _pthread_wqthread + 1299
26 libsystem_pthread.dylib 0x000000010839407d start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant