Posts

Post marked as solved
2 Replies
1.3k Views
Hello, guys!Have a problem:Added observers for keyboardDidShowNotification and keyboardWillHideNotification events: NotificationCenter.default.addObserver(self, selector: #selector(keyboardDidShown(_:)), name: Notification.Name("keyboardDidShowNotification"),object: nil) NotificationCenter.default.addObserver(self, selector: #selector(keyboardWillBeHidden), name: Notification.Name("keyboardWillHideNotification"), object: nil) and made the notifications handling: @objc func keyboardDidShown (_ aNotification: Notification) { my code } @objc func keyboardWillBeHidden (_ aNotification: Notification) { my code }Keyboard appears when I begin to edit text field but keyboardDidShown and keyboardWillBeHidden functions don't work at all (I did breakpoint right after @objc func keyboardDidShown (_ aNotification: Notification) { ).What's the problem?
Posted Last updated
.
Post marked as solved
1 Replies
891 Views
I try to instal an app on attached device (iPhone 4s) and get the following:dyld`dyld_fatal_error:0x1fe1a08c <+0>: trap Thread 1: EXC_BREAKPOINT (code=EXC_ARM_BREAKPOINT, subcode=0xe7ffdefe) 0x1fe1a090 <+4>: nop Referenced from: /var/containers/Bundle/Application/738D041C-9CB9-4B94-8B31-C2690433BDD7/Beer Places.app/Beer Places Reason: no suitable image found. Did find:/private/var/containers/Bundle/Application/738D041C-9CB9-4B94-8B31-C2690433BDD7/Beer Places.app/Frameworks/libswiftAVFoundation.dylib: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/738D041C-9CB9-4B94-8B31-C2690433BDD7/Beer Places.app/Frameworks/libswiftAVFoundation.dylib'The app works good on simulator iPhone 4s with Deployment Target 9.3
Posted Last updated
.