Top "Uibutton" questions

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

Get position of UIView in respect to its superview's superview

I have a UIView, in which I have arranged UIButtons. I want to find the positions of those UIButtons. I …

iphone ios uiview uibutton cgrect
How to initialize UIColor from RGB values properly?

I am working on an iPhone application which uses various colors. When user selects the particular color button I set …

uibutton rgb uicolor
How to create a circular button in Swift?

I want to make a circular thumbs up and thumbs down button. Should I use a ImageView or a Button …

ios swift uibutton
Setting UIButton image results in blue button in iOS 7

On iOS 6 SDK I wrote the following lines of code to display an image inside a button: NSURL *thumbURL2 = [NSURL …

uibutton uiimage ios7
How to disable the highlight control state of a UIButton?

I've got a UIButton that, when selected, shouldn't change state when being touched. The default behaviour is for it to …

ios cocoa-touch uibutton uikit uicontrol
UIButton with both image and text possible?

I have a button of size width 200 and height 270. I want to have text and image on the same button. …

ios iphone xcode uibutton
iPhone UIButton - image position

I have a UIButton with text "Explore the app" and UIImage (>) In Interface Builder it looks like: [ (>) Explore …

ios iphone cocoa-touch uibutton imageedgeinsets
How to add padding-left on a UIButton created programmatically?

I am having a trouble adding left padding on a UIButton. I have a UIButton with UIControlContentHorizontalAlignmentLeft. I want the …

swift xcode uibutton padding imageedgeinsets
iOS Buttons - add border

I am making my app ready for iOS7. I did conversion and was working with a user. The button in …

ios objective-c ios7 uibutton
Gesture recognizer and button actions

I have a view hierarchy that looks something like this: UIView (A) UIView > UIImageView UIView > UIView (B) UIView &…

iphone uibutton conflict uigesturerecognizer ibaction