Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make the keyboard in my iOS 7 app translucent/transparent

I've seen that iOS 7 brings some cool features in terms of design, and I was wondering whether I can make the keyboard transparent, as I've seen in some apps. If so, how can I do it?

I've done a bit of research but haven't found much about it.

like image 487
George Ciobanu Avatar asked Sep 18 '13 19:09

George Ciobanu


2 Answers

Assuming you're working with Xcode 5, the keyboard in iOS 7 IS transparent by default. You don't have to do anything. In IB/Storyboard, place a UITextField onto a ViewController, and turn that ViewController's view green (or some other color). When you click in the UITextField and the keyboard comes up, you'll notice that you can see the view's background color through the keyboard.

like image 154
hgwhittle Avatar answered Sep 20 '22 03:09

hgwhittle


In order for the keyboard to be translucent by default, you will need to build your app on Xcode 5 with your Base SDK set to iOS 7.

like image 34
Ben S Avatar answered Sep 21 '22 03:09

Ben S