Ios ui design and development function bar

Source: Internet
Author: User

1. Status Bar

The one on the top of the mobile phone mainly displays the signal strength, operator, Wi-Fi, current time, and battery power of the mobile phone. When playing music in the background, a playing icon is displayed on the right. If you enable Bluetooth on a device that supports Bluetooth, an icon is displayed.

In addition to the default light blue style, the status bar also has two styles: Black and transparent.

[[Uiappication sharedapplication] setstatusbarstyle: uistatusbarstyleblacktranslucent animated: No];

Change uistatusbarstyleblacktranslucent to uistatusbarstyleblackopaque to see the black status bar.

Hidden Status Bar: [[uiapplication sharedapplication] setstatusbarhidden: Yes];

 

If you do not want status entries on all pages of the program, you can modify the info. plist file of the program to specify full screen running of the software.

 

2. navigation bar

In addition to the default blue style, the navigation bar also has a black style. To use the black navigation, you can modify its attributes as follows:

Thenavigationbar. barstyle = uibarstyleblack;

You can also set it to translucent: thenavigationbar. translucent = yes;

 

3. tool bar

Apple suggests that the size of each button should be no less than 44px × 44px, and there should be a certain interval between the buttons, so it is best not to put more than five tool buttons on a toolbar.

The toolbar also has the same barstyle and translucent attributes as the navigation bar, and can be set with the same syntax.

 

4. Tab bar

If the number of tabs exceeds 5, four of them and one more button are displayed.

 

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.