-2

How can I fix the keyboard on view with editable Text field just as we see in in messaging?

enter image description here

I want to show exactly the same layout. I couldn't find how to implement this.

Flexo
  • 87,323
  • 22
  • 191
  • 272
MQ.
  • 365
  • 6
  • 28

2 Answers2

1

For creating such view you need to take a UIToolBar and add a UITextField and a UIBarButtonItem on it.
On touching UITextField or on pressing return key or Send button you need to animate your complete view as given in this link.

Community
  • 1
  • 1
Nitish
  • 13,845
  • 28
  • 135
  • 263
0

You can use the inputAccessoryView of UITextField to attach your toolBar above the keyboard

iSofTom
  • 1,718
  • 11
  • 15
  • I have find out the way to this simply i have made my button by which this view will appear to be the first responder :) and done with it Thank you everyone for helping ! – MQ. Jul 16 '12 at 08:09