zoukankan      html  css  js  c++  java
  • IOS7开发~API变化

    1、弃用 MKOverlayView 及其子类,使用类 MKOverlayRenderer
    2、弃用 Audio Toolbox framework 中的 AudioSession API,使用AV Foundation framework 中的 AVAudioSesssion 类;
    3、Core Location framework中的 CLRegion 类被 CLCircularRegion 代替,不过 CLRegion 类在同时支持 geographic和beacon regions的抽 象基类中继续存在;
    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地址,系统会返回 02:00:00:00:00:00。如果你需要identify设备,使用 UIDevice 的 属性 identifierForVendor 代替。(那些出于发布广告的目的使用identifier的apps,应当考虑使用 ASIdentifierManager的属性 advertisingIdentifier 代替。)
     
  • 相关阅读:
    百万级数据库优化方案
    MySQL架构及优化原理
    性能优化建议
    索引
    sql语句优化(持续更新)
    sql语句优化原理
    常用命令
    常见问题
    三、范围和生命周期
    【UVa】[11582]Colossal Fibonacci Numbers!
  • 原文地址:https://www.cnblogs.com/yingkong1987/p/3343935.html
Copyright © 2011-2022 走看看