Customized Square Camera with filter and crop for Swift - easy to use
iOS 9.0+ Xcode 9.1+ Swift 4.0+
let camera = PLCameraViewController(WidthAndHeight: 600)
{ image in
if (image != nil){
// set image
}
self.dismiss(animated: true, completion: nil)
}
self.present(camera, animated: true, completion: nil)