1.4 Show and hide a UIButton with animation

Published: 22 July 2015
on channel: Paul Solt
14,167
44

Download the videos and source code from http://iphonedev.tv/AutoLayoutUIButton

Now that you have Auto Layout defining the size and position of the button, you can animate it using UIView animation blocks.

Add an animation block and make sure that you force immediate layout updates by calling self.view.layoutIfNeeded() in your animation block.

--
Click here to Subscribe to learn how to make iPhone apps. http://www.youtube.com/subscription_c...

Website: http://iPhoneDev.tv
iPhone App Courses: http://learn.iphonedev.tv/course/pro/


Watch video 1.4 Show and hide a UIButton with animation online without registration, duration hours minute second in high quality. This video was added by user Paul Solt 22 July 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 14,167 once and liked it 44 people.