質問

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.

役に立ちましたか?

解決

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.

他のヒント

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.

If you are using an IB file originally created in an earlier Xcode, click on the File Inspector and change the View As property to Xcode 5.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top