1.swift3.0中调用相机和相册会导致崩溃
1.需要在info.plist 文件中加入两个键值对,如下:
2.UIImagePickerControllerSourceType 枚举
public enum UIImagePickerControllerSourceType : Int {
case photoLibrary
3.功能实现Demo
4.UIImagePickerController 协议
1.需要遵循2个 协议:
UIImagePickerControllerDelegate
UINavigationControllerDelegate
5.常用imagePickerController代理 方法
6.打印信息
|
请发表评论