iOS图片选择器:BRNImagePickerSheet

分享到:

BRNImagePickerSheet是一款模仿iOS8's iMessage的图片选择器。在选项列表视图中可以滚动显示待选图片。

iOS图片选择器:BRNImagePickerSheet

使用方法:

//遵守BRNImagePickerSheetDelegate协议: 
class ViewController: UIViewController, BRNImagePickerSheetDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate
//创建BRNImagePickerSheet对象并初始化: 
var sheet = BRNImagePickerSheet()
sheet.addButtonWithTitle("Take Photo Or Video", singularSecondaryTitle: "Add Comment", pluralSecondaryTitle: nil)
sheet.addButtonWithTitle("Photo Library", singularSecondaryTitle: "Send \(placeholder) Photo", pluralSecondaryTitle: "Send \(placeholder) Photos")
sheet.delegate = self
sheet.showInView(self.view)

项目主页:http://www.open-open.com/lib/view/home/1413881322497

昵    称:
验证码:

相关文档: