Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 28, 2012, 10:55 PM   #1
ArtOfWarfare
macrumors 601
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Custom Keyboard with Standard's Look & Feel?

I suspect the answer to this is "you can't (and expect Apple to approve it)" but I thought I'd ask anyways, just incase someone actually has an answer:

How do you make a custom keyboard with the look & feel of the standard keyboard?

It'd be nice if there was some easy way to have a custom keyboard automatically match:
- The background of the standard keyboard
- The background of the standard keys
- The press & hold behavior for standard keys (IE, tapping and holding on the "$" key will reveal "" and a few other currency symbols.)

I ask because I'm planning on making an app where it's going to swap back and forth between several custom keyboards and the standard keyboard based on context... I'd like to make my app future-proof, if possible, so that all my custom keyboards will automatically match the style of the standard keyboard if Apple ever changes it in a future update to iOS.

Edit: If no one has a good answer... Is there some way I could implement a solution and then sell it?

Last edited by ArtOfWarfare; Dec 29, 2012 at 03:49 PM.
ArtOfWarfare is offline   0 Reply With Quote
Old Dec 30, 2012, 06:50 PM   #2
PhoneyDeveloper
macrumors 68020
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
Out of curiosity, were you planning on implementing all of the keyboards for all of the foreign languages that iOS supports?

IMO, no one will pay for code for a duplicate of the standard keyboard.
PhoneyDeveloper is offline   0 Reply With Quote
Old Dec 30, 2012, 08:39 PM   #3
ArtOfWarfare
Thread Starter
macrumors 601
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Quote:
Originally Posted by PhoneyDeveloper View Post
Out of curiosity, were you planning on implementing all of the keyboards for all of the foreign languages that iOS supports?

IMO, no one will pay for code for a duplicate of the standard keyboard.
I think you misunderstand. I want the ability to display a keyboard that looks and feels like the standard keyboard(s) but has keys specific for my app.

IE, my app requires users to enter numbers frequently, so I want to add a row of numbers above the standard keys that look like they belong there and not like they were hacked in. They should have the same gradient, font, and popup behavior when they're tapped as all the alphabet keys.

(There are also many context dependent keys, so I'm making my keyboard class able to add and remove/hide/doable keys easily... Or add in "subkey"s easily, IE, like the fact that if you tap and hold the 'A', options like '' will appear.)
ArtOfWarfare is offline   0 Reply With Quote
Old Dec 30, 2012, 08:48 PM   #4
MattInOz
macrumors 68030
 
MattInOz's Avatar
 
Join Date: Jan 2006
Location: Sydney
Why not just use an AccessoryView to add an additional number row when relevant?
__________________
There is no such thing as "Collective Wisdom"
[ iPhone 5s, iPad Mini, 13" MacBookPro 2.7Ghz, 27"Al iMac i7, Black MacBook 13"]
MattInOz is offline   0 Reply With Quote
Old Dec 30, 2012, 09:31 PM   #5
ArtOfWarfare
Thread Starter
macrumors 601
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Quote:
Originally Posted by MattInOz View Post
Why not just use an AccessoryView to add an additional number row when relevant?
It's ugly + most of the alphabet is irrelevant most of the time in my app... So I want the entire keyboard to be easily customizable.
ArtOfWarfare is offline   0 Reply With Quote
Old Dec 30, 2012, 10:17 PM   #6
Kashsystems
macrumors 6502
 
Join Date: Jul 2012
Quote:
Originally Posted by ArtOfWarfare View Post

It'd be nice if there was some easy way to have a custom keyboard

You are just asking for a lot of work for yourself. You can do it, but you used the word easy. I do not know any easy on this.



http://developer.apple.com/library/i...09542-CH12-SW1
Kashsystems is offline   0 Reply With Quote
Old Dec 30, 2012, 11:33 PM   #7
ArtOfWarfare
Thread Starter
macrumors 601
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Quote:
Originally Posted by Kashsystems View Post
You are just asking for a lot of work for yourself. You can do it, but you used the word easy. I do not know any easy on this.



http://developer.apple.com/library/i...09542-CH12-SW1
Right. I know it's not easy right now. That's why I'm in the process of writing a library right now that makes it easy to create a custom keyboard that looks and feels like Apple included it as a standard keyboard in iOS.
__________________
Battery Status - On the Mac App Store
The only app that'll estimate when your wireless devices will need their batteries changed.
Including the ones paired with other Macs on your network.
ArtOfWarfare is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:20 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC