SafeSlingerProject / SafeSlinger-iOS

Source code for iOS platform client SafeSlinger
MIT License
6 stars 2 forks source link

Prepare code changes for new iOS 9 #100

Closed tenmalin closed 8 years ago

tenmalin commented 9 years ago

According to iOS9 release, several APIs have been changed. https://developer.apple.com/library/prerelease/ios/releasenotes/General/iOS90APIDiffs/index.html#//apple_ref/doc/uid/TP40016222

Basically we have to modified the following parts to reflect changes.

  1. Contact Management (Big difference): https://developer.apple.com/library/prerelease/ios/releasenotes/General/iOS90APIDiffs/Objective-C/AddressBook.html https://developer.apple.com/library/prerelease/ios/releasenotes/General/iOS90APIDiffs/Objective-C/AddressBookUI.html https://developer.apple.com/library/prerelease/ios/releasenotes/General/iOS90APIDiffs/Objective-C/Contacts.html https://developer.apple.com/library/prerelease/ios/releasenotes/General/iOS90APIDiffs/Objective-C/ContactsUI.html
  2. Preview https://developer.apple.com/library/prerelease/ios/releasenotes/General/iOS90APIDiffs/Objective-C/QuickLook.html
  3. Notification https://developer.apple.com/library/prerelease/ios/releasenotes/General/iOS90APIDiffs/Objective-C/NotificationCenter.html

I might miss something. Will update this list in the near future.

tenmalin commented 9 years ago

Similar issue has been addressed. See issue: https://github.com/SafeSlingerProject/SafeSlinger-iOS/issues/85.

tenmalin commented 8 years ago

Summary of code changes for iOS 9:

  1. Use NSURLSession for better TLS configuration.
  2. Leave Contact Management unchanged (since Contact and ContactUI are only available from 9.0, 8.x cannot use them).
  3. Auto layout configuration for iPhone 6, 6 plus, 6s, 6s plus.
  4. Use UIAlertController to replace UIAlertView and UIActionSheet.
  5. Use PHPhotoLibrary to replace ALAssetsLibrary.
tenmalin commented 8 years ago

Close in https://github.com/SafeSlingerProject/SafeSlinger-iOS/commit/c77cd9361cec28a988f4e6cc142405b35c13ac16.