开发者

view background

I hav开发者_如何学Goe a little problem, I have a view with a UIScrollView, I've imposted a background image on my view with

 self.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"background.png"]];

on simulator is all ok, the image are fixed while I scroll down but on my device the image was repeat while I scroll down. There is a way for fixed the image on my device?


Check if you're are getting a memory alert while running on the device (put a break point). Also you can invoke a memory alert in the simulator and see if something odd happends.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜