开发者

background image problem

开发者 https://www.devze.com 2023-01-28 16:20 出处:网络
i have an image sized 768X1024 and when i set the background image to a view,at the bottom it displays the white color (20pixel).Eventhough I incereses the image size 768X1044 it repeats the s开发者_如

i have an image sized 768X1024 and when i set the background image to a view, at the bottom it displays the white color (20pixel).Eventhough I incereses the image size 768X1044 it repeats the s开发者_如何学编程ame.Please help me.


Make sure that the position is set to CGPointMake(0,0), with

[theImage setPosition:CGPointMake(0,0)];

It's probably just positioned up by 20 pixels.

0

精彩评论

暂无评论...
验证码 换一张
取 消