その後のその後

iOSエンジニア 堤 修一のブログ github.com/shu223

iOS 5.0 から iOS 5.1 への API 変更点まとめ

単なる API Diffs ドキュメントの抜粋ですが、iOS 5.1 での iOS SDK API 変更点です。

AssetsLibrary

ALAssetRepresentation.h

  • Added -[ALAssetRepresentation dimensions]

AudioToolbox

AudioFormat.h

  • Added kAudioFormatProperty_FormatIsEncrypted

AudioUnit

AUComponent.h

  • Added kAudioUnitSubType_RoundTripAAC (no architecture available)


AudioUnitParameters.h

  • Removed k3DMixerParam_PostAveragePower (no architecture available)
  • Removed k3DMixerParam_PostPeakHoldLevel (no architecture available)
  • Removed k3DMixerParam_PreAveragePower (no architecture available)
  • Removed k3DMixerParam_PrePeakHoldLevel (no architecture available)

AVFoundation

AVError.h

  • Added AVErrorInvalidOutputURLPathExtension

CoreAudio

CoreAudioTypes.h

  • Added kAudioFormatMPEG4AAC_ELD_V2

CoreFoundation

CFURL.h

  • Added kCFURLIsExcludedFromBackupKey

CoreVideo

CVPixelBuffer.h

  • Added kCVPixelFormatType_OneComponent8
  • Added kCVPixelFormatType_TwoComponent8

Foundation

NSURL.h

  • Added NSURLIsExcludedFromBackupKey

UIKit

UISplitViewController.h

  • Added UISplitViewController.presentsWithGesture

UITextInput.h

  • Added UIDictationPhrase
  • Added UIDictationPhrase.alternativeInterpretations
  • Added UIDictationPhrase.text
  • Added -[UITextInput dictationRecognitionFailed]
  • Added -[UITextInput dictationRecordingDidEnd]
  • Added -[UITextInput insertDictationResult:]

個人的に特に気になったのは新たに追加された UIDictationPhrase クラス。リファレンスをチラッと見てみた限りでは音声を文字列に変換できる、つまり音声認識っぽいことができるようです。

A dictation phrase object represents the textual interpretation of a spoken phrase as dictated by a user.