2016-08-11 14 views
-3

使用私はこのアプリの開発チュートリアルに取り組んでいます

https://developer.apple.com/library/ios/referencelibrary/GettingStarted/DevelopiOSAppsSwift/Lesson4.html#//apple_ref/doc/uid/TP40015214-CH6-SW1

と私はあなたがの終わりに向かって(情報の辞書を使用する部分に立ち上がっチュートリアル)、私はエラー "未解決の識別子 '情報'の使用"を取得しています。 Iをコピーして貼り付け、それらが提供されたコード:

//The info dictionary contains multiple representations of the image, 
//and this uses the original. 
let selectedImage = info[UIImagePickerControllerOriginalImage] as! UIImage 

をそれが習慣

答えて

0

コードを作業は、この方法で配置されているものとする。

func imagePickerController(picker: UIImagePickerController, 
          didFinishPickingMediaWithInfo info: [String : AnyObject]) { 
} 

infoは、のパラメータの一つであります関数。

関連する問題