getting ready for ios 8 & iphone 6

11

Click here to load reader

Upload: fokke-zandbergen

Post on 14-Apr-2017

212 views

Category:

Mobile


0 download

TRANSCRIPT

Page 1: Getting ready for iOS 8 & iPhone 6

Titanium  NL  -­‐  October  1st,  2014  

Getting  ready  for  iOS  8  &  iPhone  6

Page 2: Getting ready for iOS 8 & iPhone 6
Page 3: Getting ready for iOS 8 & iPhone 6

Compatibility Matrix

Titanium Xcode iOS  SimulatorStudio CLI SDK 5.x 6.x 6.x 7.x 8.x  (incl  iPhone  6)3.4.0 3.4.0 3.4.0 No Yes Device Yes Yes3.4.0 3.4.0 3.3.0 Yes No Yes Yes Device3.4.0 3.4.0 3.2.3 Yes No Yes Yes Device3.4.0 3.4.0 3.1.3 Yes No Yes Yes Device3.3.0 3.4.0 3.4.0 No Partial Device Device Device3.3.0 3.4.0 3.3.0 Yes Partial Yes Yes Device3.3.0 3.3.0 3.3.0 Yes Partial Yes Yes Device

CHALLENGES

Page 4: Getting ready for iOS 8 & iPhone 6

Compatibility Matrix

Titanium Xcode iOS  SimulatorStudio CLI SDK 5.x 6.x 6.x 7.x 8.x  (incl  iPhone  6)3.4.0 3.4.0 3.4.0 No Yes Device Yes Yes3.4.0 3.4.0 3.3.0 Yes No Yes Yes Device3.4.0 3.4.0 3.2.3 Yes No Yes Yes Device3.4.0 3.4.0 3.1.3 Yes No Yes Yes Device3.3.0 3.4.0 3.4.0 No Partial Device Device Device3.3.0 3.4.0 3.3.0 Yes Partial Yes Yes Device3.3.0 3.3.0 3.3.0 Yes Partial Yes Yes Device

IDEAL  ENVIRONMENT

Page 5: Getting ready for iOS 8 & iPhone 6

Xcode 6

❍ Rename Xcode 5 as Xcode5.appBack it up outside Applications

❍ Update Xcode to 6 via App Store❍ Download Xcode 5 again if #1 failed ;)

developer.apple.com/downloads/?name=5.1.1 ❍ Download the Xcode 6 iOS 7.1 Simulator

File > Preferences > Download

Page 6: Getting ready for iOS 8 & iPhone 6

Titanium 3.4.0

❍ Studio www.appcelerator.com/titanium/download-titanium/

❍ SDKti sdk install -d

❍ CLI & Alloysudo npm i -g titanium sudo npm i -g alloy

Page 7: Getting ready for iOS 8 & iPhone 6

Xcode auto-select in Studio

sdk-­‐version  <=  3.3

sdk-­‐version  >=  3.4

Page 8: Getting ready for iOS 8 & iPhone 6

≫ ti build -p ios -C ?Which simulator do you want to launch your app in?8.0 1) iPhone 4s 2) iPhone 5 3) iPhone 5s 4) iPhone 6 Plus 5) iPhone 6 6) iPad 2 7) iPad Retina 8) iPad Air 9) Resizable iPhone 10) Resizable iPad7.1 11) iPhone 4s 12) iPhone 5 13) iPhone 5s 14) iPad 2 15) iPad Retina 16) iPad AirSelect an simulator by number or name [1]:

Xcode auto-select in CLI

≫ ti build -p ios -C ? -s 3.2.3.GAWhich simulator do you want to launch your app in? 1) iPhone Retina (3.5 inch) 2) iPhone Retina (4 inch) 3) iPhone Retina (4 inch 64-bit) 4) iPad 5) iPad Retina 6) iPad Retina (64-bit)Select an simulator by number or name [1]:

Page 9: Getting ready for iOS 8 & iPhone 6

App Checklist: Graphics❍ Add 2 new app icons for iPhone 6+ticons icons❍ [email protected] (180)❍ [email protected] (87)

❍ Generate 3 new launch images for iPhone 6 / 6+ticons splashes <input.png>❍ [email protected] (750x1334)❍ [email protected] (1242x2208)❍ [email protected] (2208x1242)

❍ Generate @3x image assetsticons assets app/assets/android/images/res-xxhdpi

❍ Check your lay-outs (all 9:16 for iPhone 5 and up!)

Page 10: Getting ready for iOS 8 & iPhone 6

App Checklist: Breaking❍ New notification permission flow

docs.appcelerator.com/titanium/latest/#!/guide/Subscribing_to_push_notifications ❍ New geolocation purpose configuration

docs.appcelerator.com/titanium/latest/#!/api/Titanium.Geolocation

❍ Localising the purposetidev.io/2014/09/29/translating-nslocationalwaysusagedescription

Page 11: Getting ready for iOS 8 & iPhone 6

How about new iOS 8 API’s❍ Touch ID: DONE

docs.appcelerator.com/titanium/latest/#!/api/Modules.TouchId

❍ Interactive Notifications: DONEdocs.appcelerator.com/titanium/latest/#!/guide/iOS_Interactive_Notifications www.appcelerator.com/blog/2014/09/new-in-sdk-3-4-ios-8-interactive-notifications/

❍ HomeKit: IN PROGRESS jira.appcelerator.org/browse/TIMOB-17334

❍ HealthKit, Widget & Share extensions: WATCH IT!jira.appcelerator.org/browse/TIMOB-17333jira.appcelerator.org/browse/TIMOB-17556 jira.appcelerator.org/browse/TIMOB-17335

❍ CloudKit, PhotoKit, Barometer: REQUEST IT!❍ WatchKit: UNRELEASED