Set the style Demo and status style demo of the status bar

Source: Internet
Author: User

Set the style Demo and status style demo of the status bar

Implementation results:

The color of the result bar changes from black to white.


// Set the style of the status bar

-(UIStatusBarStyle) preferredStatusBarStyle

{

ReturnUIStatusBarStyleLightContent;

}


// Modify the color of navigationBar

Self. navigationBar. barTintColor = [UIColor colorWithRed: 79/255 .0 green: 195/255 .0 blue: 137/255 .0 alpha: 1.0];

// Modify the rendering color of the content on the navigationBar

Self. navigationBar. tintColor = [UIColorwhiteColor];

For example, the original image is:

Set the format Effect

// Modify the rendering color of the content on the navigationBar

Self. navigationBar. tintColor = [UIColor whiteColor];



How can I change the style of the swfupload Upload Component? The demo from the pipe network is not very nice. I want to change it to the same upload style as QQ album.

Isn't there a CSS style file? It's the file. If your CSS is good
 
How does css set the color and style of the scroll bar?

Write an instance demo. CSS is also very simple.
/* Set the scroll bar style */:-webkit-scrollbar {width: 12px;}/* scroll slot */:: -webkit-scrollbar-track {-webkit-box-shadow: inset 0 0 6px rgba (0,0, 0, 0.3); border-radius: 10px ;} /* scroll bar slider */:-webkit-scrollbar-thumb {border-radius: 10px; background: rgba (0.1, 0,);-webkit-box-shadow: inset 0 0 6px rgba (0.5, 0, 0.4); }::-webkit-scrollbar-thumb: window-inactive {background: rgba (, 0, 0 );}

Related Article

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.