In this video, we will learn about UIEdgeInsets, and how to align text and image, or give padding to image and title for UIButton in swift. There are 3 types of edge insets
1) titleEdgeInsets: adding padding to title label rectangle
2) imageEdgeInsets: adding padding to uiimageview
3) contentEdgeInsets: adding padding to rectangle containing title and image
We will learn, how to align text and image on UIButton using imageEdgeInsets, titleEdgeInsets and finally with contentEdgeInsets.
Смотрите видео Swift Tutorials: Aligning text and image on UIButton with help of UIEdgeInsets онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Swift Tutorials 06 Февраль 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,884 раз и оно понравилось 28 людям.