如何拥有一个带有按钮的页面,该按钮可以更改非表视图的视图? (iPhone 开发中)
我问了类似的问题,有人给了我一个教程链接。但是,该链接让我使用了表格视图,所有的线条和东西看起来都很糟糕。那么我该如何制作一个带有按钮、背景和其他内容的视图(请以 1.2.3.. 格式编写步骤,如果您也附上所需的代码,那就太好了。)???
I asked a similar question and someone gave me a tutorial link. But, the link made me use a table view and it looks bad with all the lines and stuff. So how do I just make a view with a button and background and stuff (Please write steps in 1.2.3.. format and it would be nice if you attached the code needed too.)???
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将此类项目放入评论字段确实很困难,而且无论如何,最好的学习方法就是亲自动手。
看一下 Xcode 中内置的 Utility 示例项目。在 Xcode 中创建一个新项目,然后在 iPhone 应用程序模板下选择“实用程序应用程序”。该模板项目使用一个按钮在两个视图之间切换。
It's really difficult to fit that kind of project into a comment field, and, in any case, the best way to learn is to get your hands dirty.
Take a look at the Utility sample project that is built into Xcode. Create a new project in Xcode, and under the iPhone Application templates, select Utility Application. This template project uses a button to switch between two views.