160 likes | 301 Views
One App for All Coding for different iOS variants. Mike Oliver iOS Team Lead moliver@pyxismobile.com. One App For All. Most iOS apps start with limited range One iOS version (likely most recent) Optimized for low resolution devices
E N D
One App for All Coding for different iOS variants Mike Oliver iOS Team Lead moliver@pyxismobile.com
One App For All • Most iOS apps start with limited range • One iOS version (likely most recent) • Optimized for low resolution devices • No genuine iPad support (compatibility mode doesn’t count) • Assumption of standard iPhone hardware (camera, accelerometer, etc.)
Options to consider… Multitasking HDMI Out Hardware Video Camera GPS Low Resolution Accelerometer iPhone 3GS iPhone 4 High Resolution Devices iPad iPod Touch iPad 2 4.3 Version 4.2 4.1 4.0 3.2 3.1
More to come • NFC (Near Field Technology) • High Resolution iPad • iPhone 5 • Fingerprint scanning • Mobile Payments • Voice Integration • …?
The F-word… RELAX This isn’t Android….
One App For All iOS variances can be accounted for with minimal code
One App For All Demo 3 major topics today: Handling both high and low resolution devices Coding for potentially unavailable API’s Adding iPad specific code for Universal Apps.
One App For All Facebook Photos app: Log in using Facebook Connect Show user’s photos at best resolution possible Allow printing of photos using Airprint Give best layout for iPhone and iPad
One App For All: Best Practices Courtesy of WWDC 2010 Session 130 Don’t rely on exact screen dimensions
Bad Code: Better Code: One App For All: Best Practices Don’t rely on device model Courtesy of WWDC 2010 Session 130
UIRequiredDeviceCapabilities limits distribution based on hardware: Camera (front, video, etc.) Communication (sms, wifi, etc.) Motion (accelerometer, gyroscope) Full list can be found at… UIRequiredDeviceCapabilities Documentation One App For All: Best Practices
Best Practices Always default your code to basics (low res iPhone idiom)
Pyxis Mobile Pyxis Mobile is the only mobile application development platform designed to meet today’s constantly changing needs.
Pyxis Mobile • A Platform for Building Mobile Applications • Multi-Device Support - Easily develop rich, native Apps once and deploy on all smartphone and tablet devices. Support Local-Device Feature Superset, not Least Common Denominator • Back-End System Integration - Seamlessly integrate with multiple back-end systems and standards – internal and public – for read and write access. • Enterprise-Grade Features – User Authentication, Security, Usage and Performance Monitoring Tools, Language Support and Offline Access and Synchronization • Support Agile Deployment - Quickly create, modify, update and expand Apps, and deploy those changes immediately.
Resources • Pyxis Mobile (http://www.pyxismobile.com) • WWDC 2010 Session 130 – Future Proofing your application (can be downloaded through iTunes by registered developers) • UIRequiredDeviceCapabilities documentation • Supporting High-Resolution Screens • Custom Icon and Image Creation Guidelines