Top "Uicontrol" questions

UIControl is the base class for control objects such as buttons and sliders.

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 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
How to correctly subclass UIControl?

I don't want UIButton or anything like that. I want to subclass UIControl directly and make my own, very special …

ios objective-c uicontrol
How to implement range slider in Swift

I'm trying to implement Range Slider and I used custom control called NMRangeSlider. But when I use it, the slider …

ios objective-c swift uicontrol
Swift - Toggle UIButton title when selected

I'm looking to implement a button that can be used as a tickbox and enablers the user to toggle the …

ios swift uibutton uicontrol uicontrolstate
ios like date/time picker for android platform

I'm building mobile app for both ios and android platform using native ios/android code. And I want apps looks …

android datepicker datetimepicker uicontrol
UIControl Not Receiving Touches

I have a UIControl which implements the touches began method like so: - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { […

iphone ios uitouch uicontrol
Managing events on a custom UIControl

I am subclassing UIControl to compose a custom control that contains different standard controls. For this discussion let's assume that …

ios events uicontrol
Setting Background Image Programmatically In A Xib

I have a XIB file with UIControl and UIScrollView elements inside of it. I would like to add a background …

ios cocoa-touch uiview uiimageview uicontrol