Next Keyboard Button

Discussion in 'iOS Programming' started by danielowenuk, Jul 5, 2015.

  1. danielowenuk macrumors 6502

    Joined:
    Mar 18, 2011
    #1
  2. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #2
    This is about adding new systemwide keyboards. The number pad is not a systemwide keyboard. A few apps use it. It's not one that you can use in every app by tapping on the globe key in the lower left corner (if you only have a single keyboard enabled on your device, you don't see the globe key . Many people in the U.S. have the English and Emoji keyboards enabled systemwide, for example.)
     
  3. danielowenuk thread starter macrumors 6502

    Joined:
    Mar 18, 2011
    #3
    Cool, so assuming it's an app specific keyboard, I don't need the globe icon.
     
  4. danielowenuk thread starter macrumors 6502

    Joined:
    Mar 18, 2011
    #4
    Ok, so I figured out why you need the next keyboard button.

    Long story short the method for adding a custom keyboard on Xcode is not what I thought it was.

    Adding custom keyboard should really be called "Adding Custom System Wide Keyboard".

    The keyboard on my app works great, but needs to be installed as a keyboard, as a result it then becomes the system wide keyboard, and when you aren't in my app the lack of a next keyboard royally screws you (it's only got numbers on it!).

    I think I just need to call the UIView that I have created, rather than doing it specifically as a custom keyboard.
     
  5. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #5
    That's how I would go about making a custom keyboard if it were specific to my app.
     
  6. 1458279 Suspended

    1458279

    Joined:
    May 1, 2010
    Location:
    California
    #6
    If I understand your problem, I had the same problem. The numeric keyboard doesn't have a next or any key to end the input process.

    I've seen one solution that added a button on top of the keyboard, but it didn't look right.

    Does Apple have a solution to this? It seems like having a next button on a different view other than the keyboard is inconsistent because the other keyboard have buttons that end the input.

    Maybe I'm missing something, but don't all keyboards except the numeric have a "end the input" type button?
     
  7. danielowenuk thread starter macrumors 6502

    Joined:
    Mar 18, 2011
    #7
    That's not really the issue, the issue is instead of calling my app specific keyboard when you tap a textfield, you get the default keyboard...

    You can then switch to my keyboard as long as you have it installed in the keyboard section. I don't want to have to do this.

    Anyone got an example project with a UIView called as keyboard? Could do with plagerising something.
     
  8. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #8
    It's just a UIView with UIButtons on it. When the user taps something that should invoke your custom keyboard, animate it onto the screen. When the user does something to dismiss it, animate it off of the screen. When the user taps a button on the "keyboard", connect that event to the appropriate method that should run.
     
  9. danielowenuk thread starter macrumors 6502

    Joined:
    Mar 18, 2011
    #9
    Haha, yeah dead easy, did I tell you I have been doing this about a week :p

    I will have a read around and see if I can work it out.
     

Share This Page