uicontrol Questions
14
Solved
I've got a UIButton that, when selected, shouldn't change state when being touched.
The default behaviour is for it to be in UIControlStateHighlighted while being touched, and this is making me ang...
Robey asked 14/2, 2010 at 2:16
2
I'm building mobile app for both ios and android platform using native ios/android code. And I want apps looks similar. So I need ios style picker (for date and time selection) available in android...
Counterintelligence asked 13/6, 2016 at 13:36
9
Solved
I have a UIControl which implements the touches began method like so:
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
[super touchesBegan:touches withEvent:event];
//More code...
3
Solved
I have a search form that uses a tableview. After updating Xcode 12 today the UISwitch, UITextField, UISlider no longer work when nested inside a UITableViewCell. Is there a property that has chang...
Confession asked 17/9, 2020 at 22:44
2
Solved
I am creating a custom subclass of UIControl (I need to override its draw method) and I want to add RxSwift to bind its isSelected property to my model.
So far so good. This works fine.
My proble...
4
Solved
Is there a way to set a custom states -- not one of the existing UIControlState values -- for a UIControl?
In the UIControlSate enum, there are 16 bits that can be used for custom control states:
...
Ingles asked 18/5, 2010 at 9:40
1
Solved
In a UIControl, if I override isHighlighted to set a private _isHighlighted property, and then check the control's state to see if it contains .highlighted, the state still accurately reflects the ...
Depreciable asked 13/8, 2018 at 18:9
1
Solved
tvOS 12 has a new framework TVUIKit, which introduces the lockup views. The class I am interested in is TVPosterView, which is basically designed as such:
Swift 4.2
open class TVPosterView : TVLo...
Jerold asked 27/7, 2018 at 8:26
2
Solved
I have a custom UIControl class that I want to use in my storyboard. I am having problems since there isn't a UIControl in the object library in the Storyboard console.
I tried adding a UIView an...
Betteann asked 5/9, 2014 at 23:23
4
Solved
Edited
See the comment section with Nathan for the latest project. There is only problem remaining: getting the right button.
Edited
I want to have a UIView that the user can rotate. That UIView...
3
Solved
I tried to use custom UIControl in my view controller. My custom class which subclasses the UIControl and allocate the instance for my custom control and adding in to my view controller's view by f...
1
If I add to a control multiple target-action pairs for the same event, will the control send the action messages to the targets in the same order that I added them?
I read the following References...
Slob asked 25/3, 2012 at 18:28
4
Solved
I have a view with a tap gesture recognizer. A subview of this view is an instance of my custom class, which inherits from UIControl. I am having an issue where the UIControl subclass will sometime...
2
I am making a custom activityIndicator. I wanted it to behave like UIActivityIndicatorView but with different animations.
When you place UIActivityIndicatorView to Storyboard the width and height ...
Sanfordsanfourd asked 2/2, 2017 at 9:17
4
Solved
I'm trying to implement Range Slider and I used custom control called NMRangeSlider.
But when I use it, the slider doesn't appear at all. Could it be also because it's all written in Objective-C?
...
Businessman asked 2/7, 2015 at 8:48
2
Solved
3
Solved
I want to select a UI control to be clicked and gray out the rest of the desktop screen semi-transparently. I was thinking bitmap painting the whole screen but it is very slow process. I guess some...
Wallace asked 28/4, 2011 at 21:55
3
Solved
basically I need an image button, specifically a custom object that:
1) calls a controller's action when tapped
2) encapsulates custom data
3) is automatically moved by wrapper view (not releva...
Gnathonic asked 13/12, 2010 at 11:41
2
Solved
My calloutAccessoryControlTapped is also called when I just tap on annotation view and this behavior it's right. But how can I detect if the user has tapped on the right accessory view (in my case ...
7
I don't want UIButton or anything like that. I want to subclass UIControl directly and make my own, very special control.
But for some reason, none of any methods I override get ever called. The t...
Arda asked 7/8, 2009 at 14:58
3
How can I assign a value to a static text in a MATLAB GUI?
Camera asked 27/5, 2010 at 20:6
2
I use SevenSwitch in my project. I need to add it into a UIScrollView but it seems that the control can not receive touch events when I add it into scroll view.
I tried sub classing scrollview and...
Uel asked 31/3, 2016 at 14:42
2
Solved
In case of UISegmentedControl, once a popover or alert is present, the Control dims to grey (desaturates the tint color)
I'am building my own UIControl subclass, which uses a UILabel as a subview
...
Backer asked 9/1, 2014 at 11:26
4
Solved
I am subclassing UIControl to compose a custom control that contains different standard controls.
For this discussion let's assume that my custom UIControl contains a UIButton only.
What I would...
1
Solved
I have some custom buttons in a table view cell.
These buttons are contained by another view which does not take up the whole cell.
I want the buttons to always respond to taps (and consume the ta...
Prajna asked 7/9, 2015 at 13:56
1 Next >
© 2022 - 2024 — McMap. All rights reserved.