Blame view
App/camera/ALCameraLib/Utilities/UIViewExtensions.swift
179 Bytes
1341bf603
|
1 2 3 4 5 6 7 8 9 |
import UIKit extension UIView { func autoRemoveConstraint(_ constraint : NSLayoutConstraint?) { if constraint != nil { self.removeConstraint(constraint!) } } } |