开发者

How does the retina display affect the size of the underlying bitmap of an UIView?

开发者 https://www.devze.com 2023-01-17 19:14 出处:网络
With the retina display, does a UIView with a frame of 100/100 points actually hav开发者_StackOverflow中文版e a bitmap of 200/200 pixels?Yes. Memory-wise it\'s x 4.I strongly suggest you read the part

With the retina display, does a UIView with a frame of 100/100 points actually hav开发者_StackOverflow中文版e a bitmap of 200/200 pixels?


Yes. Memory-wise it's x 4.


I strongly suggest you read the part of the iOS App Programming Guide dealing with resolution independence.

0

精彩评论

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

关注公众号