Top "Uibutton" questions

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

How can I create a big, red UIButton with iOS?

Using iOS, how would I go about creating a red "delete" button similar to the one used when deleting contacts …

ios objective-c uitableview uibutton
UITableViewCell expand on click

Lets say we have a custom UITableViewCell So whenever I click custom button on cell.. it should expand to the …

iphone objective-c uitableview uibutton
Selector syntax for swift 3.0

I am trying to add target into button this way: btnAll.addTarget(self, action: #selector(buttonTapped(_:)), for: .touchUpInside) But it …

ios iphone swift swift3 uibutton
UIButton addTarget:action:forControlEvents: results in [NSObject doesNotRecognizeSelector:]

I tried a lot of stuff, still no result. So I have the following button created programatically in a subclass …

iphone uibutton uicontrol uncaught-exception
UIButton doesn't listen to content mode setting?

firstButton is a UIButton of type Custom. I'm programmatically putting three of them across each cell of a table, thusly: […

ios uibutton contentmode
iOS NSAttributedString on UIButton

I'm using iOS 6, so attributed strings should be easy to use, right? Well... not so much. What I want to …

ios uibutton nsattributedstring
How to set the alpha of an UIImage in SWIFT programmatically?

I found a lot solutions here but not for Swift, and I know you can do this with a UIImageView, …

swift uibutton uiimage uicontrolstate
How to change Button Title Alignment in Swift?

I am trying to set the title on a Button to left. But everything i tried is not working. With: …

ios swift uibutton
How to stop unwanted UIButton animation on title change?

In iOS 7 my UIButton titles are animating in and out at the wrong time - late. This problem does not …

objective-c swift ios7 uibutton uikit
Is it possible to adjust x,y position for titleLabel of UIButton?

Is it possible to adjust the x,y position for the titleLabel of a UIButton? Here is my code: UIButton *…

ios iphone uibutton textlabel