-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
  • 84,884
  • 22
  • 182
  • 268
MQ.
  • 365
  • 5
  • 26

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,487
  • 26
  • 128
  • 252
0

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

iSofTom
  • 1,720
  • 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