Top "Uibutton" questions

UIButton is a subclass of UIView for displaying buttons in iOS.

UIButton won't go to Aspect Fit in iPhone

I have a couple UIButtons, and in IB they're set to Aspect Fit, but for some reason they're always stretching. …

ios iphone uibutton aspect-fit
iOS 7 round framed button

the iOS App Store has a blue round framed button for buying/downloading apps. In my App you can download …

ios objective-c cocoa-touch uibutton
set cornerRadius and setbackgroundimage to UIButton

I am trying to set cornerRadius of UIButton but I dont know how to do it. If I do like …

ios uibutton cornerradius setbackground
How to add 2 buttons into the UINavigationbar on the right side without IB?

How can I add 2 buttons into the UINavigationBar without XIB? The 2 buttons should be aligned on the right side of …

ios uinavigationcontroller uibutton
Align button image to right edge of UIButton

There are plenty of threads about aligning a button image according to the title text, but I can't find anything …

ios xcode uibutton uiimage uiedgeinsets
UIButton events. What's the difference?

I've encountered a problem where my button should remain "pressed down" while it shows popover called from it. Popover is …

objective-c ios uibutton ibaction
UIBarButtonItem with custom view not properly aligned on iOS 7 when used as left or right navigation bar items

The following code works up through iOS 6: UIButton *myButton = nil; myButton = [UIButton buttonWithType:UIButtonTypeCustom]; myButton.bounds = CGRectMake(0,0,44,30); // setup myButton's images, …

uibutton uinavigationbar uibarbuttonitem ios7 uinavigationitem
How can you rotate text for UIButton and UILabel in Swift?

How can you rotate text for UIButton and UILabel? 90 degrees, 180 degrees. Note: Before you mark this as a duplicate, I …

ios swift uibutton rotation uilabel
Change a UIButton's text (padding) programmatically in Swift

Still learning Swift and don't know Objective-C. I saw that in order to changing a button's text programmatically requires the …

ios iphone swift uibutton
How to achieve UIButton / UILabel 'padding' in iPhone app

I've got various views in my iPhone application that require padding e.g a custom UIButton with text aligned left, …

iphone uiview uibutton uilabel padding