xcode - UIAlertView crash on UIInputViewController -
I am working with Xcode 6.0 and faster. After UIOlertView and UIAlertController (example: 2 function) work fine on myViewController inherited from IIViewController, but they crash Kiboardwukantrolr inherited from URInputViewController. Does the applet have a warning on a custom keyboard or is there any mistake in my coding? Any responses are welcome and appreciated.
func viewAlert () {var alertView = UIAlertView () & lt; --- alertView.addButtonWithTitle ("OK") alertView.title = "title" alertView. Message = "message" alertView.show ()} func viewAlert0 () {var warning = UIAlertController () & lt; --- alert.title = "title" alert.message = "disabled in your device" alert.addAction (UIAlertAction (title: "click", style: UIAlertActionStylekDefault, handler: nil)) self.presentViewController (Warning , Animated: true, perfection: zero)}
& lt; --- Debugger error point:
0x325ca19: call 0x327e620; Symbol for it stub: pthread_kill 0x325ca1e: movl $ 0x2710, (% esp) 0x325ca25: call 0x327ec50; The symbol for the stub: usleep $ NOCANCEL 0x325ca2a: esp movl $ 0x3, (%: movl% ESI, 0x4 (% esp) 0x325ca35: movl $ 0x0, 0x8 (% esp) 0x325ca3d $ 0xffffffe7, -0xc (% EBP) 0x325ca3l Movl ) 0x325ca44: Call 0x327e476; Symbol Stub for: sigprocmask 0x325ca49: ud2 & LT; ====== Thread 1: EXC_BAD_INSTRUCTION (code = EXC_i386_INVOP, subcode = 0x0)
Ans_akstensen_ UNAVAILABLE_IOS
are not allowed to use a class in iOS extension
iOS AlertView
or AlertController
if you see custom keyboard extension
See more:
< Ul>
Comments
Post a Comment