swift, write code for ios 7 and 8

后端 未结 5 766
悲&欢浪女
悲&欢浪女 2020-12-30 03:23

i got an test app I\'m writing with Swift, I want to target iOS 7. But enable local notification I need to add

application.registerUserNotificationSettings(         


        
5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-30 04:00

    In Beta6 it appears that some (all?) of the linking problems have been fixed. Apps linked with UIAlertAction and UIAlertController used to fail to launch on 7.1, but now will launch. You still cannot use them in 7.1, but you can test for iOS version and use the older objects.

提交回复
热议问题