In IOS 7 how to implement a button in the settings - ios

In Settings->General-Reset on an iPhone there is a list of blue text items that are , it seems to me to all intents and purposes, a series of buttons. I would like to implement such a button in my app settings. However I can't work out how this is done. In the Apple documentation there is nothing about a PreferenceSpecifier that would show this behaviour. I feel that I must be being particularly stupid about this and am missing some trick here. Would someone please point me in the right direction? Thank you
Silas

Apple can run code in Settings. You cannot. You can only declaratively change entry values in your settings.

Related

Always on top (on other apps) button in iOS

I am new to iOS development and wondering if it's possible to create a floating button which always stays on top of screen even if you have any other app running in full screen mode?
No you can't do that on iOS, Apple isn't allowing this kind of features (like Messenger on Android for example)
I assume you mean something closer to AssistiveTouch. When turned on in accessibility, it will stay on top of the screen, no matter what app you have open. I recommend reading the Apple Docs for further investigating into this, but at the moment, Apple does not let you do this. Your app can't mess with other apps. It's pretty against what Apple's design guidelines allow you to do.
Is there a work around for what you are trying to accomplish with this? Maybe if you expand your question, I can help.

Customising the Decimal pad in my app

Swift...
So I've got an existing app and I'm working on its appearance. The current task is customising the decimal pad that pops up when the user hits a textField.
I've looked around on how to make it but it always seems that you have to go into the iPhone/ipad settings and add the custom keyboard.
eg. This StackOverFlow Question
and they all seem to point to this same tutorial..
iOS 8: Creating a Custom Keyboard
My problem is that I don't want the user to have to go into settings.
So the question is....IS THIS POSSIBLE?
The following pic is what I want to use. I have made this in an XIB file through adding a target keyboard which makes the new folder with KeyboardViewController.swift , info.plist and NumPad.xib. Though i think I'm on the wrong track, can someone point me the right way please.
Also anyone know the exact dimensions this view should be.. assuming what I'm asking is in fact possible. Let me know if I'm not being clear enough!
NumPad.xib(pic)
Many many thanks,
Steve
SOLUTION: Thanks to Andrea for correcting my search keywords. It led me to this Stack Question which hopefully sends some others to the correct end of the internet that have mistakes custom keyboard with custom input views!
Sure it is possible without going into settings, but they are called custom input views.
You should look into inputViews here what Apple says about them Custom views for data input.
Basically when the user press a text field instead of loading the usual keyboard it loads an inputView that you specify, pay attention that custom keyboard term is misleading. If you google for tutorial you'll find most probably link like the ones that you found.
For a practical example check this tutorial or this, is a little bit old, but the principle are still the same

Adding another button to the text message in "messages" in iphone

You know the two buttons that you get in iphone text messaging, when you click a received message(Copy|More)? Suppose I want to add one more, button there. How would I do it? I am not looking for a step by step guide. Please tell me where to start? What should I learn?
PS: I have basic ios app development knowledge.
You can try to start by having a look here at: Apple Documentation

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

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