iphone - Best way to implement UIToolbar with UITextField above keyboard -


what best way have uitoolbar uitextfield appear above keyboard ?

in particular, i'm looking way implement in ios 6.

the basic functionality trying achieve similar ios sms app except keyboard appear default.

thanks.

either adding toolbar storyboard , add outlet it, or add toolbar xib file use inputaccessoryview of text field want add toolbar e.g.

[[nsbundle mainbundle] loadnibnamed:@"keyboardtoolbar" owner:self options:nil]; [textfield setinputaccessoryview:keyboardtoolbar]; 

enter image description here


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

What is the difference between data design and data model(ERD) -

ios - Can NSManagedObject conform to NSCoding -