8,522 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
288
views
UITextField custom inputAccessoryView with custom inputView in iOS 26
I'm trying to use UIPickerView as the textfield's inputView and also add UIToolBar as the textfield's inputAccessoryView.
In iOS 26, it adds some weird transparent background (like a liquid glass ...
0
votes
1
answer
71
views
UITextField selects all text on focus when the content is long — how to keep the caret at the end?
I’m building a custom input field using UITextField. When the user taps to focus the field and the text is long, the entire text becomes selected by default. This is the same behavior you can see in ...
3
votes
1
answer
398
views
UITextField not using rounded corners when app is built with iOS 26
I have an iOS app that uses UIKit. I have many view controllers using UITextField and all of them previously had rounded corners due to the border style: round, which is exactly what I wanted. Now, ...
0
votes
0
answers
79
views
Secure TextField value get cleared
I have a change password screen where i have 3 textfields with isSecureTextEntry set to true.
TextField values get cleared after toggling the textfield. Below is my code.
Let’s consider the case of ...
2
votes
1
answer
162
views
Secure UIWindow from Screenrecording/ Screeenshot without blocking user
i am trying to implement a feature on UIWindow which can show error on screenshot/screenrecording output without blocking users to use application during recording. by using below code i am able to ...
0
votes
0
answers
28
views
SwiftUI TextField border cut off when keyboard appears [duplicate]
I'm using SwiftUI and have several TextFields with a custom border. Textfields are inside a scrollview. When the keyboard appears, the bottom part of the TextField (especially the border) gets cut off ...
2
votes
1
answer
50
views
Copy-paste into UITextField moves caret even if shouldChangeCharactersIn returns false
Setup:
UITextField meant to contain fractional number of 18 symbols max;
UITextFieldDelegate, which validates restrictions;
UITextPasteDelegate, which clips extra symbols when pasting.
Environment: ...
2
votes
1
answer
89
views
How can I disable the default focus UI of a UITextField in tvOS?
I'm developing an app for tvOS and I'm using a UITextField to handle text input. However, when the UITextField is focused, it shows the default tvOS focus UI (like the glow and scaling effect). I want ...
2
votes
3
answers
226
views
How to show a floating password requirement box below TextField in Jetpack Compose?
I am building a Jetpack Compose login screen and need to display a floating password requirement box below the TextField. The box should dynamically appear when the user starts typing in the password ...
1
vote
1
answer
40
views
UITextField in which method I can track combining two symbols in to one?
In Czech language, entering in UITextField combination of "cˇ" will transform in to "č" (Diacritic composition).
And it happens outside of
public func textField(
_ textField: ...
0
votes
1
answer
81
views
Change "123" and "ABC" buttons action
Is it possible to change action on press "123" and "ABC" Buttons on keyboard?
(To switch not between 2 presentations of .default keyboard but different styles)
textField....
0
votes
0
answers
183
views
UITextField crash on setSelectedTextRange:
Recently I got a few crashes on UITextField:
Fatal Exception: NSInvalidArgumentException
-[<_UIObscurableTextContentStorage: 0x30016cd20> offsetFromLocation:toLocation:] received invalid ...
0
votes
0
answers
31
views
SwiftUI TextField with UIKit wrapper expanding full screen when entering numbers in custom crypto swap interface
I have an issue with a custom UITextField wrapper in SwiftUI that's expanding to fill the entire screen when entering numbers. The text field should maintain its frame size while scaling down the font ...
1
vote
0
answers
85
views
How to Remove validation text?
This is My Custom validation textfield
CmnTextField(
labelText: "Location",
controller: LocationController,
readOnly: true,
...
0
votes
0
answers
52
views
Keyboard for Input in TableView
Currently my spreadsheet has cells for data entry and if they are too low the keyboard overlaps them. I'm trying to make the table slide to the top when the keyboard appears and the input field ...