Respond to CR.

pull/2/head
Matthew Chen 7 years ago
parent 69635fafac
commit 0ce84b7929

@ -91,7 +91,7 @@ public class ImageEditorCanvasView: UIView {
strongSelf.updateAllContent() strongSelf.updateAllContent()
} }
clipView.addSubview(contentView) clipView.addSubview(contentView)
contentView.ows_autoPinToSuperviewEdges() contentView.autoPinEdgesToSuperviewEdges()
updateLayout() updateLayout()

@ -144,7 +144,7 @@ class ImageEditorCropViewController: OWSViewController {
strongSelf.updateContent() strongSelf.updateContent()
} }
clipView.addSubview(contentView) clipView.addSubview(contentView)
contentView.ows_autoPinToSuperviewEdges() contentView.autoPinEdgesToSuperviewEdges()
// MARK: - Footer // MARK: - Footer
@ -170,7 +170,7 @@ class ImageEditorCropViewController: OWSViewController {
stackView.layoutMargins = UIEdgeInsets(top: 16, left: 20, bottom: 16, right: 20) stackView.layoutMargins = UIEdgeInsets(top: 16, left: 20, bottom: 16, right: 20)
stackView.isLayoutMarginsRelativeArrangement = true stackView.isLayoutMarginsRelativeArrangement = true
self.view.addSubview(stackView) self.view.addSubview(stackView)
stackView.ows_autoPinToSuperviewEdges() stackView.autoPinEdgesToSuperviewEdges()
// MARK: - Crop View // MARK: - Crop View

@ -69,7 +69,7 @@ public class ImageEditorView: UIView {
return false return false
} }
self.addSubview(canvasView) self.addSubview(canvasView)
canvasView.ows_autoPinToSuperviewEdges() canvasView.autoPinEdgesToSuperviewEdges()
self.isUserInteractionEnabled = true self.isUserInteractionEnabled = true

Loading…
Cancel
Save