B4i Library clsInputAccessoryView - View always docked to bottom of a Page

Hi,

This class will allow you create a page with a View (ex. TextField) always sticks to the bottom of the page and move with the keyboard automatically.
This class is also useful to learn to write customs controls with Objective C and use it in B4i.

This method is used in almost all messenger apps (Viber, Whatsapp, Messenger)

It is very easy to use it

B4X:
Dim inp as InputAccessoryView

inp.Initialize("input", Me)
inp.InputView=mytextField

NavControl.ShowPage(inp.Page)

Narek
 

Attachments

  • clsInputAccessoryView.bas
    2 KB · Views: 22
Top