hackiftekhar / IQKeyboardManager

Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. Neither need to write any code nor any setup required and much more.
MIT License
16.43k stars 2.41k forks source link

Cannot show toolbar in iOS18 beta4 #2061

Open ajunjunandtmac opened 1 month ago

ajunjunandtmac commented 1 month ago

Hi, i found the toolbar issue in iOS 18 beta4, please see below screenshots, Thanks very much! iOS 17 screenshot: iOS17_4

iOS 18 screebshot: iOS18_beta4

hackiftekhar commented 1 month ago

Can you please check again because I can see the toolbar is showing in iOS 18 as well.

kayodeadeniyi commented 2 weeks ago

@hackiftekhar I confirmed that this is not working on iOS 18 beta 7. Kindly help take a look. Thank you.

Update: The toolbar isn't showing consistently on iOS 18. It sometimes shows and sometimes it doesn't

hackiftekhar commented 2 weeks ago

ok, I'll check it once again but in the meantime if you could also provide your demo project then it would be nice to check it there too.

ajunjunandtmac commented 1 week ago

ok, I'll check it once again but in the meantime if you could also provide your demo project then it would be nice to check it there too.

very sorry for the very late reply about the demo project, i just this your DemoSwift project to reproduce the issue. you just need to find a phone with iOS 18 beta OS system thanks for your support again!

ajunjunandtmac commented 1 week ago

i debug your demo project and found below the function static func hasUserDefinedInputAccessoryView(textInputView: some IQTextInputView) -> Bool when OS is iOS 17, the classNameString is InputAccessoryHost<InputAccessoryBar>.Type and the function will return false when OS is iOS 18, the classNameString is RootUIView.Type and the function will return true, this cause the toolbar invisible issue