Custom UIView from .xib Files using Auto Layout Constraints and intrinsicContentSize - Part 3

Опубликовано: 10 Июнь 2014
на канале: Paul Solt
19,137
64

Custom UIView from .xib Files using Auto Layout Constraints and intrinsicContentSize - Part 3

Setup your Auto Layout Constraints to make your custom UIView pixel perfect. You'll want to explain to Xcode how you want to layout the labels, images, and buttons correctly. This is especially useful if you want to reuse a component within your iPhone app. We can pin our custom view to the bottom and the center.

Learn how to setup the constraints in code using two constraints. I'll show you a common issue and how to resolve it. You'll also learn about the intrinsic content size to give your custom UIView a set size at a minimum.

Click Here To Subscribe and stay on top of iPhone and iPad app development for iOS 7.0 and iPhone 5S. http://www.youtube.com/subscription_c...

Links:
iPhone Blog, Code, and Tutorials: http://iPhoneDev.tv
Kickstarter iPhone Project: http://www.kickstarter.com/projects/2...

Contact:
YouTube Channel:    / paulsolt  
Twitter:   / paulsolt  
Facebook:   / paulsolt  
Google+: https://plus.google.com/u/0/+PaulSoltInc
Paul Solt's iPhone Apps: http://AppStore.com/PaulSolt


Смотрите видео Custom UIView from .xib Files using Auto Layout Constraints and intrinsicContentSize - Part 3 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Paul Solt 10 Июнь 2014, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 19,137 раз и оно понравилось 64 людям.