日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

IOS7开发~API变化

發(fā)布時間:2025/5/22 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 IOS7开发~API变化 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
1、棄用 MKOverlayView及其子類,使用類 MKOverlayRenderer; 2、棄用 Audio Toolbox framework 中的 AudioSession API,使用AV Foundation framework 中的 AVAudioSesssion 類; 3、Core Location framework中的 CLRegion 類被 CLCircularRegion 代替,不過 CLRegion 類在同時支持 geographic和beacon regions的抽 象基類中繼續(xù)存在; 4、CBCentral 類中的 UUID 屬性被棄用,使用屬性 identifier 代替; 5、UIKit framework中變化: UIViewController 中屬性 wantsFullScreenLayout 被棄用,因為iOS7及之后,view controllers將始終支持全屏布局; UIPopoverController 不再提供箭頭方向(arrow direction)的概念,改為展示方向(presentation direction);
  • UIColor?objects that provided background textures for earlier versions of iOS are gone.

  • Many drawing additions to the?NSString?class are deprecated in favor of newer variants.

6、libsyscall 類庫中的 gethostuuid 功能被棄用; 7、iOS7及以后,如果你要獲取 iOS設備的MAC地址,系統(tǒng)會返回?02:00:00:00:00:00。如果你需要identify設備,使用 UIDevice 的 屬性 identifierForVendor 代替。(那些出于發(fā)布廣告的目的使用identifier的apps,應當考慮使用 ASIdentifierManager的屬性 advertisingIdentifier 代替。) 分享到:?

?

轉載于:https://www.cnblogs.com/yingkong1987/p/3343935.html

總結

以上是生活随笔為你收集整理的IOS7开发~API变化的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內容還不錯,歡迎將生活随笔推薦給好友。