Post

Replies

Boosts

Views

Activity

Reply to inputAccessoryView Issues - Beta 5?
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 inputAccessoryViewtextField.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.
Nov ’19