Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift animate add subview

UIView.transition(with: self.view, duration: 0.25, options: [.transitionCrossDissolve], animations: {
  self.view.addSubview(view)
}, completion: nil)
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #swift #animate #add #subview
ADD COMMENT
Topic
Name
6+8 =