IPhone 5 colorwithpatternimage Problems

Source: Internet
Author: User

The colorwithpatternimage method is to take color based on the image, and then run in the iOS 6 of iPhone 5 and iOS 6 of iPhone 4S with different effects!

After running in iPhone 5, the upper and lower positions will be reversed. After searching for a long time, I thought it was a problem with the colorwithpatternimage method. Later I found that when using this method, the parameter image name must be @ 2x, it's really cool! The iPhone 5 has a resolution. The default image size is 640x1536.CodeDifferentiate iphone5 and then call different pictures!

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.