Prevent default keyboard from showing when UITextField is pressed

前端 未结 3 689
忘了有多久
忘了有多久 2020-12-20 19:45

Is there a way to make a custom keyboard to pop up when a user presses on a UITextField. I have a view with a custom keypad on it and I want that to come up when the user pr

3条回答
  •  不知归路
    2020-12-20 19:56

    You may set delegate in your UITextField and return NO in textFieldShouldBeginEditing:.

提交回复
热议问题