Friday, February 16, 2024
HomeiOS Developmentios - Creating an Expandable InputAccessoryView in SwiftUI

ios – Creating an Expandable InputAccessoryView in SwiftUI


I am making an attempt to create an InputAccessoryView/View pinned to the keyboard in SwiftUI with the next functionalities:

It must be pinned to the keyboard when it seems.
Tapping the view ought to open the keyboard.
When dragging the view down, it ought to increase vertically in direction of the navigation bar.
Whereas I’ve discovered some sources, I am uncertain about the most effective method to attain this.

May anybody present insights or share code examples on the best way to implement this successfully utilizing SwiftUI, probably combining it with UIKit for keyboard administration?

I’ve a reference of slack app screenshot precisely the I ought to must implement.

Thanks upfront in your assist!
enter image description here

enter image description here



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments