inputAccessoryView Issues - Beta 5?

Anyone else notice any issues using inputAccessoryViews ? In our app, we use them to place a toolbar (Next / Prev / Done) above the keyboard.


In iOS 12, they appear fine.


In iOS 13 Beta 5, the inputAccessoryViews do not appear. When dismissing the keyboard on the last field, the inputAccessoryView for the last field appears for a split second, scrolling down from above the top of the screen. Once the full height of the inputAccessoryView shows then it disappears.


I also notice that SELECT elements in HTML viewed in a WKWebView (presented as a spinner at the bottom of the screen) is missing the toolbar above the spinner (Up arrow, down error, Done button) that normally appears in iOS 12.

I am also facing same issue releated inputAccessoryViews, I have toolbar added with Done UIBarButtonItem, which is visible and working for iOS 12.x and lower versions but not visible for iOS 13.

I was having a similar issue with one of our views. In my case setting `translatesAutoresizingMask` to `true` on the input accessory view after it was assigned and given a frame causes it to behave as it did in iOS 12.

Same here. I have inputAccessoryView with textField and it visible only if keyboard is opened, but if it hidden inputAccessoryView is hidden too.

We have the same issue on one of the app we uploaded a new version. Apple review team reject this version as there are not show OK button on Date Picker.
From the code side, we setting UIButton added as a subview on UIView and setting UIView object as inputAccessoryView

textField.inputAccessoryView = view;


After checking in code there is use Toolbar for getting Hight and width to setting UIView's frame. and on the log of Toolbar in iOS13, there are not return width, It returns frame value is 0,0,0,44. which means there is no width we getting if we dynamically use the toolbar to setting Uiview Object frame. so that's why there is no set up button in inputAccessoryView.

So i change code and remove toolbar frame width to UIScreen width and setting up all the code replace with toolbar width and my issue have been solve.
I hope that help to other as well.

inputAccessoryView Issues - Beta 5?
 
 
Q