【发布时间】:2012-08-30 11:35:47
【问题描述】:
我即将推出一款新应用,并希望提高图形质量。在我的例子中,图形是徽标和自定义按钮。我不知道这是否会影响 Core Plot,但这也是包的一部分。
有很多关于这个的帖子,但仍然有一些我不完全理解的东西。
我正在阅读“amatn”的这句话:
It's trivial:
1.Only include @2x images in your project.
2.Make sure those images have the @2x suffix.
The system will automatically downscale for non-retina devices.
The only exception is if you are doing manual, low level Core Graphics drawing.
You need to adjust the scale if so. 99.9% though, you don't have to worry about this.
来自这个帖子:Automatic resizing for 'non-retina' image versions
我的问题是:
1. Should i do the testing on retina simulator only, as if i place a @2 grapic on
non-retina it will be too big? ...or is there an other way of doing it?
2. Should i always use a ImageView or is it OK to drag the image on the screen,
this is the logo i am talking about?
3. What about custom made buttons with images, how should i do with those?
4. What is the normal process to manage the different screen sizes, do people
add images for all displays or using this type of process?
【问题讨论】:
标签: objective-c xcode ios-simulator retina-display