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/
Смотрите видео 1.4 Show and hide a UIButton with animation онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Paul Solt 22 Июль 2015, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 14,167 раз и оно понравилось 44 людям.