BackBarButtonItem color/Text modification, modify the image text color

Source: Internet
Author: User

BackBarButtonItem color/Text modification, modify the image text color
BackBarButtonItem color/Text Modification

After iOS7. The default return button font color is blue and displays the title of the parent VC (upper-level interface ).

If you want to modify it, you can use the following method:

 

1. Modify the font color

 

(1) Add View controller-based status bar appearance in plist and set it to NO

 

 

 

 

(2) Add the following code on the interface to be modified (add it to viewDIdLoad)

Http://ios.662p.com/thread-1944-1-1.html


How can I change the color of the text on the image Adobe Photoshop?
The text color changes the first layer of the as contains the following AS, I will use the "" book name content is an explanation, then I can't understand it again

Function FGcolorOver (num ){
If (num = 1) {"num = 1" indicates the first button, that is, "about Wei Shang". The following num = 2 is the product recommendation, so I will not talk about it, all the same
MyColor = new Color (_ root. m1 ["n" + num]);
MyColor. setRGB (0x999900); the first button, that is, the color of the "about Wei Shang" Mouse sliding over, 0x999900 is the color of sliding out of date. For example, if you change 0x000000 to black, find the color code by yourself
}
If (num = 2 ){
MyColor = new Color (_ root. m2 ["n" + num]);
MyColor. setRGB (0xCC9933); the second button, that is, "Product recommendation", slides the mouse over the color. 0xcc9933 is the color of the slide. For example, if you change it to 0x00ff00, it turns green, find the color code by yourself
}

The second line of as is the color after the slide, that is, black.
Function FGcolorOut (num ){
If (num = 1) {here is the same as num = 1 above, it also represents the first button
MyColor = new Color (_ root. m1 ["n" + num]);
MyColor. setRGB (0); change 0 in brackets to the color you want. 0 indicates black, and the color format is 0 xffffff. This is white.
}

I can't help you.

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.