iOS 7.0--iOS 7.1 API變化

General Headers

/usr/include/dispatch/introspection.h
Added dispatch_introspection_hook_queue_item_complete()

Accelerate

No changes

Accounts

No changes

AddressBook

No changes

AddressBookUI

No changes

AdSupport

No changes

AssetsLibrary

No changes

AudioToolbox

No changes

AudioUnit

No changes

AVFoundation

AVAudioSession.h
Added AVAudioSessionErrorCodeCannotStartRecording
Added AVAudioSessionPortCarAudio

CFNetwork

No changes

CoreAudio

No changes

CoreBluetooth

CBError.h
CBUUID.h

CoreData

No changes

CoreFoundation

No changes

CoreGraphics

No changes

CoreImage

No changes

CoreLocation

No changes

CoreMedia

CMBufferQueue.h
Added CMBufferGetSizeCallback
Added CMBufferQueueGetTotalSize()
CMTime.h
Added CMTimeMultiplyByRatio()

CoreMIDI

No changes

CoreMotion

No changes

CoreTelephony

No changes

CoreText

No changes

CoreVideo

No changes

EventKit

No changes

EventKitUI

No changes

ExternalAccessory

No changes

Foundation

No changes

GameController

No changes

GameKit

No changes

GLKit

No changes

GSS

No changes

iAd

ADClient.h (Added)
Added ADClient
Added -[ADClient determineAppInstallationAttributionWithCompletionHandler:]
Added +[ADClient sharedClient]

ImageIO

No changes

IOKit

No changes

JavaScriptCore

No changes

MapKit

MKAnnotationView.h
  Declaration
From @property(nonatomic, retain) id<MKAnnotation> annotation
To @property(nonatomic, strong) id<MKAnnotation> annotation

  Declaration
From @property(nonatomic, retain) UIImage *image
To @property(nonatomic, strong) UIImage *image

  Declaration
From @property(retain, nonatomic) UIView *leftCalloutAccessoryView
To @property(strong, nonatomic) UIView *leftCalloutAccessoryView

  Declaration
From @property(retain, nonatomic) UIView *rightCalloutAccessoryView
To @property(strong, nonatomic) UIView *rightCalloutAccessoryView

MKMapItem.h
  Declaration
From @property(nonatomic, readonly, retain) MKPlacemark *placemark
To @property(nonatomic, readonly) MKPlacemark *placemark

Modified MKMapItem.url
  Declaration
From @property(nonatomic, retain) NSURL *url
To @property(nonatomic, strong) NSURL *url

MKMapView.h
  Declaration
From @property(nonatomic, assign) id<MKMapViewDelegate> delegate
To @property(nonatomic, weak) id<MKMapViewDelegate> delegate

MKMultiPoint.h
Removed MKMultiPoint.points
MKOverlayPathRenderer.h
  Declaration
From @property(retain) UIColor *fillColor
To @property(strong) UIColor *fillColor

  Declaration
From @property(retain) UIColor *strokeColor
To @property(strong) UIColor *strokeColor

MKOverlayPathView.h
  Declaration
From @property(retain) UIColor *fillColor
To @property(strong) UIColor *fillColor

  Declaration
From @property(retain) UIColor *strokeColor
To @property(strong) UIColor *strokeColor

MKReverseGeocoder.h
  Declaration
From @property(nonatomic, assign) id<MKReverseGeocoderDelegate> delegate
To @property(nonatomic, weak) id<MKReverseGeocoderDelegate> delegate

MKUserLocation.h
  Declaration
From @property(readonly, nonatomic, retain) CLHeading *heading
To @property(readonly, nonatomic) CLHeading *heading

  Declaration
From @property(readonly, retain, nonatomic) CLLocation *location
To @property(readonly, nonatomic) CLLocation *location

MKUserTrackingBarButtonItem.h
  Declaration
From @property(nonatomic, retain) MKMapView *mapView
To @property(nonatomic, strong) MKMapView *mapView

MediaAccessibility

No changes

MediaPlayer

MediaToolbox

No changes

MessageUI

No changes

MobileCoreServices

No changes

MultipeerConnectivity

No changes

NewsstandKit

No changes

OpenAL

No changes

OpenGLES

PassKit

No changes

QuartzCore

No changes

QuickLook

No changes

SafariServices

No changes

Security

No changes

Social

No changes

SpriteKit

SKAction.h
SKView.h

StoreKit

SKReceiptRefreshRequest.h
Added SKTerminateForInvalidReceipt()

SystemConfiguration

No changes

Twitter

No changes

UIKit

No changes

VideoToolbox

No changes
發佈了31 篇原創文章 · 獲贊 4 · 訪問量 10萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章