i m new to iphone development i want to create a view like this..
我是iphone开发的新手,我想创建一个像这样的视图..
1.home screen contains a. a navigation bar b.a uiimageview c.a toolbar(with 4 buttons)
1.home屏幕包含一个。导航栏b.a uiimageview c.a工具栏(带4个按钮)
2.new view contains a.navigation bar with back button which leads to home screen. b.a UITableView.
2.new视图包含一个带有后退按钮的导航栏,通向主屏幕。 b.a UITableView。
3.another table view with navigation bar leads back to (2nd view)
3.带导航栏的另一个表视图返回(第2个视图)
note i want to load new view with the tool bar button.
注意我想用工具栏按钮加载新视图。
2 个解决方案
#1
That's excellent. Thanks for the update! Keep us informed on how you're doing with that.
这太棒了。感谢更新!让我们了解您如何做到这一点。
Actually, it would be a disservice to you for us to write your code for you. Why don't you try looking at Apple's sample code on the iPhone Dev Center? It'll answer your question.
实际上,我们为您编写代码对您来说是一种伤害。你为什么不尝试在iPhone开发中心查看Apple的示例代码?它会回答你的问题。
You can come back here and post code that you've tried that isn't working.
您可以回到此处并发布您尝试过的无效代码。
Probably not the answer you want, but I'm pretty sure you'll benefit more from actually researching the question and trying it out on your own.
可能不是你想要的答案,但我很确定你会从实际研究问题并自己尝试中获益更多。
#2
Following up on Jordan's answer, the place you want to start is Getting Started w/ iPhone OS. For the type of code you're talking about, you should then investigate the View Controller Programming Guide. When you've gone through the samples and start having trouble with your own code, the Cocoa/iPhone crowd here at Stack Overflow is incredibly helpful. But a statement of program requirements isn't an SO question.
按照乔丹的回答,你想要开始的地方是带有iPhone OS的入门。对于您正在讨论的代码类型,您应该研究View Controller编程指南。当您浏览完样本并开始使用自己的代码时,Stack Overflow上的Cocoa / iPhone人群非常有帮助。但是,对计划要求的陈述不是一个问题。
#1
That's excellent. Thanks for the update! Keep us informed on how you're doing with that.
这太棒了。感谢更新!让我们了解您如何做到这一点。
Actually, it would be a disservice to you for us to write your code for you. Why don't you try looking at Apple's sample code on the iPhone Dev Center? It'll answer your question.
实际上,我们为您编写代码对您来说是一种伤害。你为什么不尝试在iPhone开发中心查看Apple的示例代码?它会回答你的问题。
You can come back here and post code that you've tried that isn't working.
您可以回到此处并发布您尝试过的无效代码。
Probably not the answer you want, but I'm pretty sure you'll benefit more from actually researching the question and trying it out on your own.
可能不是你想要的答案,但我很确定你会从实际研究问题并自己尝试中获益更多。
#2
Following up on Jordan's answer, the place you want to start is Getting Started w/ iPhone OS. For the type of code you're talking about, you should then investigate the View Controller Programming Guide. When you've gone through the samples and start having trouble with your own code, the Cocoa/iPhone crowd here at Stack Overflow is incredibly helpful. But a statement of program requirements isn't an SO question.
按照乔丹的回答,你想要开始的地方是带有iPhone OS的入门。对于您正在讨论的代码类型,您应该研究View Controller编程指南。当您浏览完样本并开始使用自己的代码时,Stack Overflow上的Cocoa / iPhone人群非常有帮助。但是,对计划要求的陈述不是一个问题。