Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
193 views

I have an old app which had been working fine till iOS 26 came out. In my app, I am using the .valueChanged event of UISlider to get the phase and do different things if it's .began, .moved, or .ended....
sudoExclamationExclamation's user avatar
2 votes
1 answer
218 views

When the UITapGestureRecognizer is not added to the view, both the UIButton and CustomControl will receive the .touchUpInside event. However, when the UITapGestureRecognizer is added to the view, only ...
catmotionmachine's user avatar
3 votes
1 answer
66 views

I am making a user interface with an input that represents an angle, to be set with uicontrol slider elements. It is expected that angles can wrap around the circle, so I would like that when the user ...
Philippe Garteiser's user avatar
1 vote
0 answers
26 views

I have create a subclass of UIControl, where all the events is working fine when there is no gesture recogniser added to its parent view. But when I add tap gesture to its parent view no events are ...
Summit's user avatar
  • 100
0 votes
1 answer
75 views

I have buttons inherited from UIControl in the horizontal UICollectionView. I want to add a behavior so that even when we do horizontal scrolling through buttons, my buttons don't catch touching, and ...
Anton Timonin's user avatar
3 votes
1 answer
850 views

Summary: All I am trying to do is to have a UIControl subclass that shows a UIMenu when pressed and I have read this other question but I am running into a crash when setting the ...
ashipma's user avatar
  • 469
0 votes
0 answers
42 views

I placed a UIControl in a UIView,and set the UIView as the UITextField.rightView,but the UIControl then doesnot call actions for controlEvents I added like:[control addTarget:self action:@selector(...
Allen's user avatar
  • 11
0 votes
0 answers
201 views

I have a question about plots and subplots. I am iterating over some data and I am trying to get everything into a plot. It worked that every plot got written into one plot with hold on and figure but ...
Igor 's user avatar
  • 23
0 votes
1 answer
116 views

I've created a UIView (tooltip box) and added it as a subview of another view. Using anchor constraints, I've floated it off the edge of its superview where it hovers above an unrelated UIView (which ...
clearlight's user avatar
  • 12.7k
3 votes
0 answers
305 views

I'm working on custom UIControl where I will be opening a keyboard(The custom control is become a first responder). In this case I want to identify or detect the which suggested keyword been selected ...
Jayachandra A's user avatar
0 votes
1 answer
1k views

I know UIButton has a menu property so that context menus can be added to the button. But for other UIControl subclasses, such as custom UIControls, this property does not exist. I know that one way ...
ashipma's user avatar
  • 469
2 votes
1 answer
278 views

I'm not using interface builder/storyboard, I do everything programmatically and without auto-layout. In that context, if you setup a UIColorwell and give it a frame, the actual colorwell image (i.e. ...
Gary's user avatar
  • 904
0 votes
1 answer
2k views

I want to use one initializer or the other depending on the iOS version. If it is not iOS 14, I want to set the action to use later. My call to the super constructor happens inside an if/else: class ...
regina_fallangi's user avatar
0 votes
1 answer
791 views

I have the following folder structure in my project: In the UserControls folder are "L_Menu.xaml" and "LS_Account.xaml". These are both simple user controls. On the “L_Menu” user ...
Luuke's user avatar
  • 141
2 votes
0 answers
181 views

I am trying to use UIControl as the superclass for a custom ActionView , in the Apple docs it says I need to use beginTracking(.. to track interactions: Override the beginTracking(:with:), ...
regina_fallangi's user avatar
0 votes
2 answers
163 views

Hi to all Matlab wizards -- I apologize if this is a trivial question. How does one remove the blinking cursor from an edit uicontrol box after the user had pressed "enter" (and the callback ...
runcyclexcski's user avatar
0 votes
1 answer
850 views

I'm trying now to expand the answer given by Tasos in callback function throws unexpected "nonconformant arguments" error. I would like to insert two more uicontrols in the form of buttons. ...
user5694985's user avatar
0 votes
1 answer
111 views

I am using AORangeSlider which is a subclass of UIControl that overrides the beginTracking, continueTracking and endTracking methods. When this control is added to a viewController, which is presented ...
Nic Hubbard's user avatar
  • 42.3k
2 votes
1 answer
363 views

I'm using GNU Octave, version 4.4.1. I'm trying to make an interactive plot of a simple oscillator by including two sliders which would allow the initial velocity and oscillator mass to be changed. ...
user5694985's user avatar
0 votes
0 answers
53 views

I have an interesting issue that I am trying to get some clarity on. I have a UISegmentedControl on a view that works perfectly fine when deploying to a physical device (Switches indexes, valueChanged ...
Paul Morris's user avatar
8 votes
3 answers
2k views

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 changed ...
Jason F's user avatar
  • 309
0 votes
1 answer
588 views

I have a UITableViewController inside a storyboard. I’ve enabled the pull to refresh property using interface builder. I would like to disable and re enable the pull to refresh functionality ...
Yonatan Vainer's user avatar
0 votes
1 answer
75 views

I have been trying to create a a custom "slider" or knob with UIControl for my app. I found this tutorial and have been using it for some inspiration, but since it does not really accomplish ...
coder's user avatar
  • 421
3 votes
1 answer
967 views

New in iOS 14, we can attach an action handler directly to a UIControl: let action = UIAction(title:"") { action in print("howdy!") } button.addAction(action, ...
matt's user avatar
  • 540k
0 votes
1 answer
92 views

I've created a custom slider inherited from UIControl and pass it into UITableViewCell. The problem is that when the content of my custom slider is bigger than UITableViewCell's height, the cell won't ...
ATOM's user avatar
  • 104
0 votes
0 answers
127 views

My question could be simple to answer. Is it possible to use an UIControl that contains elements like UIStackView or labels? When I add a UIControl, I can use it like UIButton, but then I added a ...
user3745888's user avatar
  • 6,363
1 vote
1 answer
576 views

I've created a custom UIControl. The closest comparison is a UIStepper but it is a subclass of UIControl because its wholly custom. For most UIControls you can create target actions with ...
Ryan Poolos's user avatar
  • 18.6k
1 vote
2 answers
291 views

I have a Custom UIControl with 3 UIButtons: This UIControl is embeded in a UIView (the Yellow Rectangle) inside a view controller: Every button has a different tag (tag1, tag2, tag3). I need to ...
Kargol's user avatar
  • 113
2 votes
1 answer
1k views

I've been creating my own UIControl subclass for use in my tweak iDunnoU. I've finished the UIControl, with the exception of the expand/collapse animation. The issue with this animation is that it '...
JacobCXDev's user avatar
0 votes
0 answers
46 views

Since iOS 13, the colors getting assigned to UIControls don't seem to be the same colors that ultimately end up getting displayed. Here is an example that can be copy & pasted into an xcode ...
Gagan Singh's user avatar
0 votes
1 answer
1k views

I have activated the one component license and used it in one of the application and created a .exe for that application. It's not popping up for me but when any third user is installing that .exe and ...
ksrds's user avatar
  • 166
-1 votes
1 answer
584 views

Beginner question. I have a UISlider on the storyboard, and in another UIView class besides the ViewController I would like to use the slider's value to change path/shape variables within the ...
Paul's user avatar
  • 125
1 vote
0 answers
176 views

I've added a UICollectionView to a UIControl (which is being called in a UITableViewController section header) and the UICollectionView is appearing (background color shows), but the datasource and ...
I'm Joe Too's user avatar
  • 5,916
0 votes
1 answer
28 views

I have a question about this article https://www.raywenderlich.com/7595-how-to-make-a-custom-control-tutorial-a-reusable-slider I substitute var trackTintColor = UIColor(white: 0.9, alpha: 1) { ...
Yun's user avatar
  • 75
2 votes
1 answer
616 views

I am working with UIScrollView and UIStackView to scroll horizontally and select a UIControl element. I have addTarget set on a UIControl element as follows inside a UIStackView: i.e ...
user12564133's user avatar
1 vote
1 answer
1k views

I'm first in SwiftUI and IOS. I want to use SimpleCheckBox in my SwiftUI. But I only get Error:(14, 18) static method 'buildBlock' requires that 'Checkbox' conform to 'View' This is my code. var ...
ParkMinchul's user avatar
1 vote
0 answers
827 views

I am implementing UIContextMenu in my App. It runs very well. Only one problem, once context menu has appeared and disappeared, tableView delegate didSelectRowAt indexPath does not work on first tap, ...
Shubham Singh's user avatar
0 votes
1 answer
79 views

i have a wpf form and a canvas in it and an image in canvas. i want this image to move randomly to directions every n milliseconds. i used while loop but it stocked in starvation. so i had no way to ...
siamak work's user avatar
-1 votes
1 answer
182 views

Script1 has Qlabel and Script2 is calculating some value. What I want to is change Content of Qlabel from coding in Script 2. For example, I wrote self.button_A.clicked.connect(test) I wrote, ...
Dongseok Yang's user avatar
4 votes
3 answers
952 views

When I embed a custom UIControl inside a ViewController that's presented modally with the new iOS13 automatic style, touchesCancelled is called whenever a pan gesture moves more than a few points. ...
thattyson's user avatar
  • 728
1 vote
1 answer
1k views

I have Matlab 2019b, GUI Layout Toolbox 2.3.4 and t all runs on MacOs 14 Mojave. I want to create button in in a UI that have icons/images instead of text. I have seen here: https://...
Peter Harrison's user avatar
0 votes
1 answer
55 views

Hi there I am trying to add a label to the centre of the thumb on a custom UIControl. I need to find the centre on the thumb. I have a function that I'd like to return the thumb centre as CGPoint. ...
Reiss Zurbyk's user avatar
2 votes
1 answer
2k views

I have created a custom UIControl. The UIControl contains multiple items like drawings and labels. I want to be able to catch a tap on a label inside the ViewController. Note that I add components ...
Patrick's user avatar
  • 312
0 votes
1 answer
65 views

In iOS13 alone, for the iPhone XR/XS/XSMax or in the simulator, in the delegate method didFinishLaunchingWithOptions I created an arbitrary UI controls, such as a UIButton, UILabel. With or without ...
D.Wade's user avatar
  • 3
0 votes
1 answer
807 views

I have 3 textFields set up and I can manually type in the verification code and the cursor will move to the next textField after 4 characters. But I also want this to happen when I paste the code ...
user avatar
0 votes
2 answers
495 views

To customize the appearance of native iOS date picker(UIDatePicker), I found a code on GitHub. (Reference: https://github.com/xiaosao6/CCDatePicker) Now I want to add an event listener for the picker....
Yuan's user avatar
  • 35
1 vote
1 answer
671 views

The following is example code from Matlab. It doesn't run in Octave. The code is: f = figure; b = uicontrol(f,'Style','pushbutton'); b.Position = [100 100 50 20]; It is from the online documentation: ...
kainaw's user avatar
  • 4,362
1 vote
1 answer
733 views

I am writing a GUI in GNU octave (5.1.0). It is supposed to read some input values, make some calculations, plot some graphs and write the results. Everything works well besides the unwanted fact that ...
Tomáš Hofer's user avatar
1 vote
2 answers
173 views

I try a adding UITableView into scrollview programmatically. I have set anchors and datasource, delegate. You can see in codes. But I can't. I put a breakpoint and everything run. But I can't see in ...
Adnan Ertörer's user avatar
1 vote
1 answer
271 views

I can set a UIImage's mask property to another UIView, but if I set the UIImage's mask property to a UISwitch, the UIImage and UISwitch does not display. recordMicSwitch = UISwitch() guard ...
Chewie The Chorkie's user avatar

1
2 3 4 5
9