Skip to content

Instantly share code, notes, and snippets.

@pocketkk
Created July 13, 2014 15:01
Show Gist options
  • Save pocketkk/e449cc89d40ce9744590 to your computer and use it in GitHub Desktop.
Save pocketkk/e449cc89d40ce9744590 to your computer and use it in GitHub Desktop.
Swift - Add subview with transition
UIView.transitionWithView(self.view, duration: 0.5, options: UIViewAnimationOptions.TransitionNone,
animations: {self.view.addSubview(effectView)}, completion: nil)
@erolando
Copy link

erolando commented Jun 8, 2016

excellente! thanks

@asadali737
Copy link

Good one!

Thanks

@anilaydin
Copy link

thanks bro but it s useless

@dzensik
Copy link

dzensik commented Aug 24, 2018

Good work

@jmlp1327
Copy link

Thank you :) :) :) 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment