iPhone应用程序UI实施建议 [英] iPhone Application UI Implementation Suggestion

查看:78
本文介绍了iPhone应用程序UI实施建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个iPhone应用程序,其功能将与许多餐厅查找器应用程序相似。启动后,该应用程序将以允许用户指定用于执行搜索的邮政编码的视图开始。或者,如果用户拥有带GPS的iPhone,则该应用程序将根据其当前位置自动执行搜索,尽管用户可以指定自己的位置。



执行搜索后,将向用户显示一个标签栏视图,其中显示所有结果的列表,或者显示包含指定范围内所有结果的地图视图。最后,将有一个详细信息视图,该视图向用户提供有关列表或地图中任何一个特定结果的详细信息。



应用程序应按以下步骤进行操作:



搜索->(列表|地图)->详细信息



我对iPhone开发非常陌生,所以我



我在想,我可以使用导航视图控制器来打开搜索视图。



当用户单击搜索按钮时,应用程序将视图切换到包含标签栏控制器的视图(一个标签用于列表,另一个标签用于地图)。列表视图和地图视图都将放置在另一个导航视图中,当用户尝试向下钻取到详细信息视图时,该视图将允许用户切换到详细信息视图。



我的问题解决方案听起来可行吗?有没有其他应考虑的方法?

解决方案

我不会使用标签栏在地图和列表之间进行切换。它们基本上以不同的方式显示相同的数据。通常,这是通过标题栏中的分段控件完成的。



使用一个UINavigationController在3个主视图之间切换(搜索>(列表|地图)>详细信息)。



在(列表|地图)视图中,使用UISegmentedControl在查看模式之间切换。
在详细信息视图中,用户可以使用后退按钮返回搜索结果。



我很快想到了两个模型:



替代文字http:// img340。 imageshack.us/img340/8913/uimockup.png 替代文本http:/ /img219.imageshack.us/img219/9553/uimockup2.png


I am building an iPhone app, which will function similarly to many restaurant finder applications. When launched, the application will start with a view that allows a user to specify a zip code for performing a search. Alternatively, if the user has an iPhone with a GPS, the application will automatically perform a search based on their current location, although it will be possible for the user to specify their own location.

After the search has been performed, the user will be presented with a tab bar view, which displays a list of all results, or a map view, containing all of the results within a specified range. Finally, there will be a details view, which gives the user detailed information about any one particular result from the list or map.

The application should flow as follows:

Search -> (list | map) -> details

I'm very new to iPhone development, so I'd appreciate some feedback on how to put together the interface.

What I'm thinking is I could use a navigation view controller for the opening search view. When the user clicks the "Search" button, the app will switch views to a view containing a tab bar controller (one tab for the list and another for the map). Both the list and map views will be placed inside yet another navigation view, which will allow the user to switch to the details view when the user attempts to drill down into the details view.

Does my solution to the problem sound feasible? Is there an alternative way I should consider?

解决方案

I wouldn't use a tab bar for switching between the map and the list. They basically display the same data, just in a different way. This is usually done with a segmented control in the title bar.

Use one UINavigationController to switch between the 3 main views (Search > (list | map) > details).

Within the (list | map) view, use a UISegmentedControl to switch between viewing modes. When in the details view, users can go back to the search results by using the back button.

Two mockups I came up with quickly:

alt text http://img340.imageshack.us/img340/8913/uimockup.png alt text http://img219.imageshack.us/img219/9553/uimockup2.png

这篇关于iPhone应用程序UI实施建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆