100DaysiOSSwiftLearn
Swift Project 09 - ADD PHOTO FROM CAMERA ROLL
主要学习的内容: 学习在TextField中插入图片 如何选择手机中的图片 NSAttributedString的使用 修改图片大小 开发环境: macOS 10.12 Xcode 8.0 iOS 10.0 Swift 3.0
原文图片托管服务已失效,图片暂未迁移。
主要学习的内容:
- 学习在TextField中插入图片
- 如何选择手机中的图片
- NSAttributedString的使用
- 修改图片大小
开发环境:
- macOS 10.12
- Xcode 8.0
- iOS 10.0
- Swift 3.0
参考:
- Choosing Images with UIImagePickerController in Swift
- Resize UIImage in Swift
- How can I add image in UITextView?
源代码: