Download presentation
Presentation is loading. Please wait.
1
One App for All Coding for different iOS variants Mike Oliver iOS Team Lead moliver@pyxismobile.com
2
© 2010 Pyxis Mobile. Confidential Information 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.)
3
© 2010 Pyxis Mobile. Confidential Information Options to consider… Devices Hardware Version Video High Resolution Low Resolution Accelerometer GPS Multitasking Camera HDMI Out iPhone 4 iPad 2 iPad iPod Touch iPhone 3GS 4.3 3.2 4.2 4.0 3.1 4.1
4
© 2010 Pyxis Mobile. Confidential Information More to come NFC (Near Field Technology) High Resolution iPad iPhone 5 Fingerprint scanning Mobile Payments Voice Integration …?
5
© 2010 Pyxis Mobile. Confidential Information The F-word… RELAX This isn’t Android….
6
© 2010 Pyxis Mobile. Confidential Information One App For All iOS variances can be accounted for with minimal code
7
© 2010 Pyxis Mobile. Confidential Information One App For All Demo 3 major topics today: 1. Handling both high and low resolution devices 2. Coding for potentially unavailable API’s 3. Adding iPad specific code for Universal Apps.
8
© 2010 Pyxis Mobile. Confidential Information One App For All Facebook Photos app: 1. Log in using Facebook Connect 2. Show user’s photos at best resolution possible 3. Allow printing of photos using Airprint 4. Give best layout for iPhone and iPad
9
© 2010 Pyxis Mobile. Confidential Information One App For All: Best Practices iMug
10
© 2010 Pyxis Mobile. Confidential Information One App For All: Best Practices Don’t rely on exact screen dimensions Courtesy of WWDC 2010 Session 130
11
© 2010 Pyxis Mobile. Confidential Information Don’t rely on device model Bad Code:Better Code: One App For All: Best Practices Courtesy of WWDC 2010 Session 130
12
© 2010 Pyxis Mobile. Confidential Information One App For All: Best Practices 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 UIRequiredDeviceCapabilities Documentation
13
© 2010 Pyxis Mobile. Confidential Information Best Practices Always default your code to basics (low res iPhone idiom)
14
© 2010 Pyxis Mobile. Confidential Information. Page 14 Pyxis Mobile Pyxis Mobile is the only mobile application development platform designed to meet today’s constantly changing needs.
15
© 2010 Pyxis Mobile. Confidential Information. Page 15 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.
16
© 2010 Pyxis Mobile. Confidential Information Resources Pyxis Mobile (http://www.pyxismobile.com)http://www.pyxismobile.com WWDC 2010 Session 130 – Future Proofing your application (can be downloaded through iTunes by registered developers) UIRequiredDeviceCapabilities documentationdocumentation Supporting High-Resolution Screens Custom Icon and Image Creation Guidelines
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.