iOS Question inputAccessoryView error

Alexander Stolte

Expert
Licensed User
Longtime User
Hey i want to set a inputAccessoryView, but this error occurs:
B4X:
Copying updated assets files (1)
Application_Start
Application_Active
Error occurred on line: 42 (Main)
child view controller:<UICompatibilityInputViewController: 0x10784ca60> should have parent view controller:Page (vc): Page but requested parent is:<UIInputWindowController: 0x104014000>
Stack Trace: (
  CoreFoundation       AF3F8E01-C130-3464-AD40-C5532D273483 + 1202316
  libobjc.A.dylib      objc_exception_throw + 60
  CoreFoundation       AF3F8E01-C130-3464-AD40-C5532D273483 + 124068
  UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 4880052
  UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 9838476
  UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 9841836
  UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 17855748
  UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 9840840
  UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 9813492
  UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 6360152
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 6357284
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 6362752
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 6362876
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 6352784
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 6351468
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 6347452
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 12595932
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 12575380
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 17820156
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 15695480
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 15353576
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 15215160
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 15218852
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 12378512
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 6739728
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 7396948
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 7436216
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 7422964
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 7420268
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 7371416
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 7368260
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 12640692
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 12481772
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 13046920
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 13059136
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 13023468
 CoreFoundation       AF3F8E01-C130-3464-AD40-C5532D273483 + 661356
 CoreFoundation       AF3F8E01-C130-3464-AD40-C5532D273483 + 661096
 CoreFoundation       AF3F8E01-C130-3464-AD40-C5532D273483 + 657760
 CoreFoundation       AF3F8E01-C130-3464-AD40-C5532D273483 + 633484
 CoreFoundation       CFRunLoopRunSpecific + 600
 GraphicsServices     GSEventRunModal + 164
 UIKitCore            05147936-B875-3EF3-94DB-9C8869BB0E34 + 12349952
 UIKitCore            UIApplicationMain + 168
 B4i Example          main + 128
 libdyld.dylib        BA60CB9E-95C5-3646-BEED-D313E15586CF + 5824
)
SignalHandler 6
Example Prject is in the attachment.
Thanks
 

Attachments

  • fgfgfgd.zip
    17 KB · Views: 214

Semen Matusovskiy

Well-Known Member
Licensed User
It's not clear, what you try to do.
Panel1 has a parent (RootPanel). And how OS will attach similar view to the keyboard ?
TextField in accessory view looks strange also.
 
Upvote 0
Top