I have an image with detail :
- Dimension : 930 x 1433 pixels
- Resolution : 71 pixels / inch
The image has left/top/right/bottom border with black color
I display the image inside an UIImageView. The mode is "Scale to fill"
- If i set the width of the UIImageView to 84, i totally can not see the left border
- If i set the width to 85, i can see the left border but it's very blur
- If i set the width bigger and bigger, the left border appears clearer
- If i set the width to 120, it becomes normal
The same happens for top/bottom border
- Set height to 110 : can not see top/bottom border
- Set height to 120 : can see but still blur
- Set height to 140 : they become normal
I test it in the iPad simulator 4.3. When i view it in Interface Builder, it appears normal.
Anyone have any hint ?
Thanks.
- Dimension : 930 x 1433 pixels
- Resolution : 71 pixels / inch
The image has left/top/right/bottom border with black color
I display the image inside an UIImageView. The mode is "Scale to fill"
- If i set the width of the UIImageView to 84, i totally can not see the left border
- If i set the width to 85, i can see the left border but it's very blur
- If i set the width bigger and bigger, the left border appears clearer
- If i set the width to 120, it becomes normal
The same happens for top/bottom border
- Set height to 110 : can not see top/bottom border
- Set height to 120 : can see but still blur
- Set height to 140 : they become normal
I test it in the iPad simulator 4.3. When i view it in Interface Builder, it appears normal.
Anyone have any hint ?
Thanks.
Last edited: