简体   繁体   English

如何为iPad应用程序蒙皮

[英]how to skin an iPad app

im new to ipad/iphone development. 我是ipad / iphone开发的新手。 what are some ways to skin an ipad app? 可以为ipad应用程序添加皮肤吗? (eg: the notes app that came with the iPad) Is there any tutorials or code samples? (例如:iPad随附的notes应用程序)是否有任何教程或代码示例?

I think the question has to do with skinning your own apps instead of skinning Apple's pre-existing apps. 我认为问题与皮肤自己的应用程序有关,而不是与Apple先前存在的应用程序有关。 Assuming this: 假设这样:

Any buttons can be easily skinned with images. 任何按钮都可以轻松添加图像。 Just add the image to your XCode project. 只需将图像添加到您的XCode项目。 Then, select the button in Interface Builder and in the attributes inspector you can choose the image there. 然后,在Interface Builder中选择按钮,然后在属性检查器中选择图像。

You can skin other views by adding UIImageView's that cover the whole view and then moving them into the background of the layout. 您可以通过添加覆盖整个视图的UIImageView来为其他视图设置外观,然后将它们移到布局的背景中。

My app Rith uses all of the standard controls, but everything is skinned. 我的应用程序Rith使用了所有标准控件,但是所有内容都是皮肤。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM