hi all,
developing iphone, ipad apps. when designing user interfaces, efficient ways know proper size of interface elements (example image, button , font) produced looking interface? because when run on device, images seems blur, font seems big.
comments welcome. lot.
i haven't dealt ipad yet, information may out...
in app i've coded custom icons use. if in interface builder if declare custom button @ size of 44x44, had have graphics @ 88x88 newer iphones , ipod touches have resolution of 640x960 (held vertically). size increase makes graphics sharper looking on newer hi-dpi devices. system works points of 320x480 match pixels of older lower resolution devices. i'm don't know ipads. you'll have dig information up, or nslog following, use in code influence size of graphics:
code:
[[uiscreen mainscreen] scale];
i suspect you'll find scale 1 , you'll have account density of pixels between ipad , other devices. next ipad expected scale 2x current 1 is.
these images make uiimages place backgrounds custom buttons. buttons still declared in interface builder 44x44, system knows dealing higher density display , handles 2 possible results correctly, upsizing lower resolution version had coded. looked more pixelated.
looks should set scale property of uiimages 2 large images. so, button resizing images me, not system in general. new homework me.
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment