iphone - iOS 5.1 with Xcode 4.3.1: [UIColor colorWithPatternImage:] strange behavior only on device -
when compile app in xcode 4.3.1 ios 5.1, notice there strange behavior background textures on actual device. there 1px gap in between texture tiles shown in screenshot below.
my texture 150x150 , 300x300 @ 2x.
so far i've tested same build on:
- simulator iphone/ipad both 5.0/5.1: no bug
- iphone/ipad running 5.0.1: no bug
- iphone/ipad running 5.1: buggy
i've been getting same problem since 5.1 aswell. solved doing following image in photoshop. can same in tool.
load file, select all, , copy clipboard
create new file in photoshop same dimension, rgb , 8bit depth 72pixels/inch resolution white background.
paste image copied in step 1 image
save file , use one.
after doing file displayed correctly on device , didn't have resort creating images size of display.
Comments
Post a Comment