Questions tagged [uikeyboard]

uikeyboard is an iOS object used to represent a keyboard. Implementors use it to create an interface which approximates a physical keyboard

1026 questions
-1
votes
1 answer

want enable number and '&' symbol in number and punctation keyboard type

i am trying to enable only number and & symbol , i am using below code but it is not working i don't know what is problem,any other way to enable only number and some symbol in key board ,please help me out with this. thanks in advance…
iosDev
  • 604
  • 2
  • 11
  • 28
-1
votes
2 answers

How to move StatView programmatically when keyboard shows

I have a login page which has two textviews and a button in a stackView I'm trying to move the stackview when the keyboard shows and also disappears as I want to know how to do this programmatically
farooq
  • 9
  • 2
-1
votes
1 answer

iOS13 Dark Mode Keyboard isSecureTextEntry causes Snapshot Error

I have 3 textfields for name, email and password. The password textfield has isSecureTextEntry = true which causes this weird message output when I switch typing from the password textfield to one of the other textfields: Snapshotting] Snapshotting…
omranK
  • 29
  • 3
-1
votes
1 answer

App crashes when keyboard is numberPad, phonePad or decimalPad (iOS 12.2, Xcode 10.2)

My app has suddenly started crashing when keyboard type is numberPad or phonePad. The crash happen in simulator and device both. I am setting keyboard type by below code. self.textFieldMobileNumber.keyboardType = .numberPad Default keyboard just…
Teena nath Paul
  • 2,029
  • 19
  • 26
-1
votes
3 answers

How to prevent keyboard from moving the view up when it is already shown

I got the keyboard to move up when I click a textfield but as soon as I click another textfield It move the view up even more. Thank you for your help. func keyboardStates() { NotificationCenter.default.addObserver(self, selector:…
DDevelops
  • 1
  • 1
-1
votes
1 answer

Keyboard didn't show with becomeFirstResponder()

I created a text field in iOS and I want the keyboard to pop out every time I open it. I tried the following code in .swift file: @IBOutlet weak var messageTextview: UITextView! override func viewDidLoad() { super.viewDidLoad() …
ZHEN BIAN
  • 3
  • 5
-1
votes
1 answer

Auto switching uiviewcontroller objective-C

I have a storyBoard, where I put two viewcontrollers,and designed two different keyboards on it, one is dark and other is the default, how I can auto switch these views depending on the situation, like in dark theme my keyboard look dark otherwise…
md4rd
  • 3
  • 5
-1
votes
1 answer

How to make lighter keyboard letter for iOS app?

I don't understand why my app is getting "Bold Keyboard Letter" while other app like "Contact" is not? I'm using UISearchbar and has configured as follow, keySearchBar = UISearchBar() keySearchBar!.translatesAutoresizingMaskIntoConstraints =…
webmastx
  • 613
  • 6
  • 26
-1
votes
1 answer

Move view with keyboard issues.(keyboard size && view move back issue)

There are several TextFields in a UIView.I want move view up when user edit TextField.And then i try it reference Move view with keyboard using Swift My core code is below: //MARK: Properties @IBOutlet weak var userAccountTextField:…
WangYang
  • 1
  • 2
-1
votes
1 answer

How to handle view with keyboard in iOS

I am having 2+ years of experience in iOS development. I haven't got the better solution for the keyboard handling. I need to handle it by the notifications and that old stuff. Is there any library or any simple stuff that could automatically handle…
Gopal Devra
  • 151
  • 1
  • 13
-1
votes
2 answers

iOS Keyboard doesn't resign until after view transition

I have set this UIViewController to be the delegate for the UITextField in the viewDidLoad with this line: self.nameInputTextField.delegate = self;. I have set the delegate on the class as well by adding to the @interface…
jungledev
  • 3,679
  • 1
  • 32
  • 47
-1
votes
1 answer

How do I bring the Done button of Decimal Pad to the right side on iOS?

On iOS - when we use Decimal Pad as the Keyboard Type for a Text Field, the virtual keyboard displays with a Done button on the top left corner of the keyboard by default. Is there anyway to customize it to the top right side of the keyboard? I…
Long Dao
  • 1,261
  • 3
  • 15
  • 31
-1
votes
1 answer

How to show keyboard without animation (Swift, iOS9)?

I know there already are answers on this question but none of them actually work for me or at least I'm not experienced enough to implement them. Is there some straight way to achieve this? I'm getting keyboard height in method triggered by…
Lachtan
  • 3,793
  • 6
  • 18
  • 28
-1
votes
1 answer

I want the iPhone keyboard to dismiss with the current view controller

Use the slide gesture to pop a view controller, and the keyboard disappears after the view controller disappears. I want it to disappear together with the view controller like iPhone Message's keyboard.
-1
votes
2 answers

iPad UIKeyboard Hide / Resign / Dismiss Button Event Handler?

Can you see the button in the bottom right of the iPad keyboard? Well I want access to the event handler for that button, Because, I have some logic that I need to administer when specifically THAT button is pressed. My attempted solution included…
1 2 3
68
69