I'm trying to inset a path by a constant amount, but for some reason, it appears this is not working. What am I doing wrong? This works fine; it draw ...
I'm trying to inset a path by a constant amount, but for some reason, it appears this is not working. What am I doing wrong? This works fine; it draw ...
I have a UIViewController as the root of a UINavigationController and I have set the preference for large titles as follows navigationController?.navi ...
I need to attach title of UIButton to the top-right corner, but when I use .contentVerticalAlignment property, there is a space between the top and th ...
I am implementing a menu, which holds severals buttons within two columns and I want the button text to be centered in the middle for every cell. T ...
I've been trying different ways on the Playground, but the margins are not being implemented. I'm trying to understand the proper way of using UIEdgeI ...
I use this UILabel extension for label padding in a lot of areas in my projects. And it works perfectly on iOS 13 and older version devices. But it do ...
I'm playing with Navigation Bar Buttons I need a button from right edge with 0 space, after google search i found below code But unfortunatly in i ...
I am using XCode System Images (SF Symbols) for UITabBarItem Images. I'd like to remove the UITabBarItem Title which I have done. But also move the UI ...
I am using iOS's system icons so that I can have a consistent user interface throughout my project. One thing that I've noticed when using these icons ...
I'm using a UIActivityViewController to print (amongst other activities). So I pass it an instance of my custom subclass of UIPrintPageRenderer, for w ...
I have a TableView inside a ViewController. I made the TableView stretch to the View SuperMargings (with constraints) and disabled all SafeArea Inset ...
I created a button in interface builder. Set fixed width = 120 and height = 40 constraints to this button. After I add an image to button and s ...
I have a UICollectionView with multiple sections. I would like to add bottom inset to the entire collectionView. All the Q&As suggest to use t ...
I would like to get rid of the spacing between the top of the UIButton image and the top border of the UIButton as well as the bottom of the UIButton ...
I have a UITableViewCell which contains a UITextView. I'd like to set padding on this text view, so that the cell content is pushed in by 10 on each ...
I would like to use NSDirectionalEdgeInsets to UIButton's contentEdgeInsets and titleEdgeInsets. Is that possible? Background For localization purpo ...
I'm styling a UILabel programmatically and having trouble getting any padding around the label's text: After studying many SO threads on the subje ...
I've created a custom UILabel in order to be able to change its safe area so the text could have some padding and look nicer, but after I changed my s ...
I got a UIStackView ParticipateButtonStackView managing three buttons of the same class: ParticipateButton These buttons only contain an image. To ha ...
I have a UICollectionView that scrolls vertically. The collection view is a form. It has multiple sections, each section has a few items in it. The to ...