Troubleshooting methods for iPhone man-machine interface common tasks (1)

Source: Internet
Author: User

IPhoneMan/MachineInterfaceThe common task processing method is described in this article. If you have experience using desktop or portable computer applications, you will find thatIPhoneApplications process many common tasks in different ways. This section describes these common tasks from the perspective of human-machine interfaces. For more information about code implementation, see the iPhone application programming guide.

Start

IPhoneApplications should be able to start quickly so that users can start using them immediately. At startup,IPhoneThe application should:

For more information about available styles, see "status bar ).

Displays a startup image that resembles the initial screen of an application. This reduces the startup time of the application you are aware. For more information, see "Start image ".

Avoid displaying the "about" window and the startup screen, and do not provide any other types of experience that prevents users from using the application immediately.

By default, applications are started vertically on the screen. If you want your application to be used only when the screen is landscape, start the application horizontally on the screen regardless of the current direction of the device. If necessary, allow the user to rotate the device horizontally.

Applications that only display horizontally should support two types of "landscape"-the application can be normally displayed no matter whether the "homepage" button is on the right or left side of the screen. If the device itself has been placed horizontally, this type of Horizontally displayed application is started in the device direction. Otherwise, by default, the homepage button can only be on the right side of the application when the application is started.

Restore your application to the last running state.

Important: Do not prompt users to reboot or restart their devices after your application is installed. If your application has memory usage or other problems, and your application is difficult to run unless the system has just been started, you need to solve these problems. For example, you can read the "use memory efficiently" section in the iPhone application programming guide to learn how to develop well-running applications.

Stop

The iPhone application must be terminated when the user opens another application or uses the features of the device, such as the phone number. To terminate an application, you do not need to click the close button of the application or select "exit" on the menu. IPhone applications should:

You are ready to receive exit or termination notifications at any time. Therefore, you must save user data as quickly as possible and as often as possible.

When an application ends, save its current status as detailed as possible. For example, if your application can display scrolling data, the current scroll position should be saved.

IPhoneThe application should not exit directly through code, because this will make the user feel that the application has crashed. However, in some cases, the external environment may prevent your applications from running properly. The best way to deal with this situation is to make the screen show eye-catching content, describe the problem on the screen, and provide users with suggestions to solve the problem. This will help users in the following two aspects:

It provides feedback to inform the user that your application has no errors, so that the user can rest assured.

It can control user behavior and let them decide whether to take corrective actions to continue using your application, or to press the "Homepage"ButtonTo open another application.

In some specific environments, if some of your applications do not work properly, you canScreenDisplays information or warnings. Although warnings do not provide much flexibility in design, they can also be a good choice if you can guarantee the following:

Briefly describe the current situation

Provides a button for performing corrective actions.

A warning is displayed only when the user attempts to access a function that cannot work normally.

Like all warnings, the less users see them, the more effective they are. For more information about creating a warning, see "use warning ".

Manage settings or configuration options

The iPhone application allows you to set application behavior or configuration options based on your preferences, thus changing some features of the application. It can be set to some information that is rarely changed once after the user is set, such as the account name. You can view the settings of a specific application in the built-in "Settings" program. Configuration options are values that users may want to change frequently, such as the category type displayed in the list. configuration options should be provided by the application itself.

You should regard the settings and configuration options as mutually exclusive. That is to say, you should not provide both settings and configuration options in your application.

IPhoneIt is recommended that you do not specify any settings for the application. In this way, you can use these applications immediately without providing the configuration information. To achieve this in your application, you can make the following design decisions:

To meet the needs of 80% users. When you adopt this design, most users do not need to provide the setting information, because your application has been set according to the behavior expected by most users. You can ignore the features that only a few users need and those that most users only need to use once.

Obtain as much information as possible from other sources. If you can use information provided by any user in the built-in application or device settings, You can query the value of this information from the operating system; do not ask the user to enter them again.

If you must request information from the user, Please prompt the user to enter information within the application. Then immediately store this information in your application settings. In this way, the user will not be forced to exit the application before starting to use your application, but will first open the "Settings" interface. If you need to change this information later, they can change it at any time in your application settings.

If you want to open the "Settings" program, you must first exit your application, and you should not encourage users to do so. The system does not provide icons or controls that support this behavior. We recommend that you do not create custom icons or controls for this operation. If you decideIPhoneFor more information about how to support these functions in your code, see the "setup package" section in the iPhone application programming guide.

Note: application-specific settings should not include user help content.

Different from the settings, the configuration options may change frequently because users choose to view information from new resources or in different la S. You can dynamically respond to changes made to these options because you do not need to leave your application to access them.

You canInterfaceOrScreenConfiguration options are provided on the back. Which technology is used is more reasonable depends on whether the option represents the main function and the frequency of user changes.

For example, the calendar program allows users to view their schedules on a daily, weekly, or monthly basis. These options can be stored inScreenBut viewing different parts of the calendar is the main function of the program, and the user may frequently change the focus.

For another example, the main function of the "Weather" program is to display the current weather conditions of a city and weather forecasts within six days. Although it is also important for users to choose whether to display the temperature in units of Celsius or Fahrenheit, the user is unlikely to change this option frequently.InterfaceIs not reasonable. In "Weather"ScreenProvides the temperature label option on the back, it is both convenient and not abrupt.

Supports copying and pasting.

IPhoneOS provides editing or clipboard menus. It supports cutting, copying, and pasting in text, Web, and image views ", select and select all operations. One way to display the menu to users is to first touch and hold down the screen of the device until a enlarged view appears. This view allows users to move the insertion or selection point to the correct position ), then let it go. If the current context supports this menu, it will appear when the user raises his finger. Click "select" in the menu to select a word or an item defined by the application in the view. You can expand the selected content by dragging the handles of the selected area. After the content is selected, the Menu displays "cut", "copy", or "Paste" as needed ".

You can adjust some actions of the editing menu to adapt to your application. To learn more

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.