Add "Keyboards" In App Settings - ios

How can you add the Keyboards option in the settings of an app?
Like such:
I know the Siri & Search keys you must enter in your Info.plist, but I wasn't able to find how to directly add the keyboards option.
The purpose is to be able to turn on a custom keyboard from the apps settings rather than going through General > Keyboards > Add Keyboard.
If the answer is "You can not", how can you add a keyboard from within the app's own settings. There are several keyboard applications out there that have this feature, so unless it's a private deal with Apple I'm sure there is a way to do this.

Simply removing and adding the keyboard extension to an already existing project added the necessary elements to the info.plist. Not sure if this was a bug, software glitch on my end, or the alignment of the planets... all I know is that it is fixed now. Cheers!

Related

Making Apple style settings view

I want to make settings in my application like Apple Settings. How can I make settings in such style?
In my mind I need TableView + custom Cells with Images & Switches, but it’s very difficult way to go. I think that XCode has easier and more standart way to do that
Update I'm talking about creating custom in-app settings view, not about Settings.bundle
If you want to do it in the settings app then you need to look up about settings bundles: https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/UserDefaults/Preferences/Preferences.html
If you want to have it look like the settings app but be within your app then I'd recommend InAppSettingsKit: http://www.inappsettingskit.com
I'm newbie, so i didn't know how to do ViewController like Apple Settings inside application. Now i know that, so answering on my question.
You can make settings in your application in 2 ways:
Make settings via settings.bundle, that settings will appear in Settings.app (not in your app). More at: https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/UserDefaults/Preferences/Preferences.html.
Make UITableViewController and there you can customize cells to appear like native Apple Settings.

XCode Custom Keyboard's additional settings

I am trying to figure out how to create additional settings inside of the Settings app on iOS. Right now I am using the Settings.bundle, and it is putting the settings underneath the original keyboard settings. But from what I have seen from other custom keyboards, you can access additional settings by going to Settings->General->Keyboard->Keyboards->Your Keyboard Name->Additional Settings.
Right now I can get to as far as Your Keyboard Name, I have no idea what to implement to be able to make the Additional Settings.
Normally I would google this, but I do not even know what to look for to find this, and all my searches lead me to Settings.bundle.
Any help would be appreciated, thanks.
Also I am doing this in swift, but I do not need the answer in swift if it is not known, I can figure it out myself after I get that nudge.
Never mind, I have found the answer. You need to go into the info plist of the extension, expand nsextension, expand nsextensionattributes, and inside that, set requestopenaccess to yes, that will expand the keyboards settings to allow you to set open access or not

iOS8 Custom Keyboard Settings.bundle does not show up

I added a Settings.bundle to the keyboard target. But when I add the keyboard in the settings, the Items from the Settings.bundle doesn't show up. I had it working once. But this was in Beta 4.
-- best regards
In iOS8.0.2, the settings appear in the General->Keyboard section of the iOS settings app.
However, a bug in iOS prevents from reading these values.
The solution would be to create a settings screen in your containing app, and read/write the settings to the Shared Container, using [[NSUserDefaults alloc] initWithSuiteName:#"group.your.group.name"]
Note, though, that this solution requires the user to allow full access in the keyboard settings, which is currently not a very user-friendly setting.

replacing custom keyboard iOS

I'm trying to create my own keyboard for iPhone and trying to replace the default one.
There are a lot of custom keyboards in Cydia that replaces default one
so it is definately possible.
my question is
How can I create the keyboard
this would not use iOS APIs
is there any sample sources or other things that I can look around?
There is no way you could change default keyboard. and If you anyhow modify it(using private methods) apple will reject your app because it is against apple guidelines.
So the only solution to your problem is create a custom keyboard and then use it. There are few custom keyboards you can use them also :
custom-ios-keyboards
ioscustomkb
how-to-create-a-simple-keyboard-with-custom-navigation-buttons
Hope it helps you.

iOS - How to build a subview with "Passcode Lock" look - like in a settings.bundle

I would like to have a subview in settings.bundle which works like the Passcode Lock section in settings -> general.
More specifically, I would like to have a subview with the functionality that I can change an access key used in my app, asking for the old one to change for a new one.
Some one have some code, clue, tutorial?
Thanks in advance.
Have you looked at the apple documentation? It explains how to do this.
http://developer.apple.com/library/ios/#DOCUMENTATION/Cocoa/Conceptual/UserDefaults/Preferences/Preferences.html
Or check this tutorial http://www.informit.com/articles/article.aspx?p=1846575&seqNum=12
If you are wanting to make it look JUST LIKE the passcode lock screen it will be hard to do. Apple limits what a developer can do to the settings menu for their application. You could just put 4 text boxes on the screen but it won't be able to automatically go to the next box since you cannot add code to your settings bundle.

Resources