Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您会注意到在 iOS 照片应用程序中,当您点击图像时,右侧栏按钮项是编辑,当您点击编辑时,会出现图像编辑器。我想知道是否有任何 API 可以实现,以便我可以在我的代码中显示这个编辑器视图控制器?
当然,您应该呈现一个 UIImagePickerViewController 然后设置allowEditing值true以在选择照片后呈现一个编辑器
然后使用 UIImagePickerDelegate 协议就可以得到编辑好的图片
UIImagePicker 文档