I need to access the iPhone's general accessibility settings; I need to know whether the user has turn on features such as "Speak Auto-text" or "White on Black" and respond to that programatically. I don't need to change the values, only read them. Also, if there's a way of defining (for my app) to ignore them (and set the corresponding support programatically) - that would be a good solution.
Any suggestions?
what about UIKit accessibility methods?
Accessibility
UIAccessibilityPostNotification
UIAccessibilityIsVoiceOverRunning
UIAccessibilityIsClosedCaptioningEnabled
UIAccessibilityIsGuidedAccessEnabled
UIAccessibilityIsInvertColorsEnabled
UIAccessibilityIsMonoAudioEnabled
UIAccessibilityZoomFocusChanged
UIAccessibilityRegisterGestureConflictWithZoom
You can't. I suspect this is by design.
Related
I have multi-selection dialog(drop-down) in Android where user selects all options applicable to him in registration page.What can be used in Iphone for the same purpose ?
And selecting a few options will unhide few textfields which is mandatory to fill.
Let me know what can be my approach.Please share any open source code links.
Thanks in advance.
No, there is no such thing within the iOS SDK and that is for a good reason - those elements are just not pretty, funky and usable well enough when acting on a touch display.
Consider using UIPickerView or UISegmentedControl instead. Maybe also have a look at Action Sheet.
The Settings/Accessibility "Large Text" setting sets the text size in some built-in Apps.
How can I get hold of this setting to be used in my own App? I can create a private setting in my App of course, but I'd rather use the global setting.
I was expecting [UIFont systemFontSize] to adjust the size, but it always returns 14 regardless of the setting in Accessibility.
As far as I know this is not possible. I opened rdar://10660048 just in case, hopefully something similar will be available in iOS 6.x. If somebody knows private APIs to access the value I wouldn't mind knowing.
I am building an app which I only want it to be in Swedish.
Based on many questions in SO I set the Localication native development region to Sweden.
I set this in the app-info.plist.
But this does not seem to work. The app and the systemButtons are always displayed in English.
SHould i do something else to make it work?
Is this value overridden somewhere else? (I am mainly concerned about UITableView delete to a translated version of 'delete' button)
Your help and suggestions will be greatly appreciated
You should use ableView:titleForDeleteConfirmationButtonForRowAtIndexPath: to force the name of the delete in the table view.
I am developing an iPhone app which uses Settings.bundle to let the user choose some options.
I have two questions regarding this:
How can I completely remove/hide some setting? (for instance if the app is running on iPhone 3G I want to hide settings regarding the compass)
How can I disable (fade) a setting? (for instance, I have two Toggle Switches and if the first is set to OFF the second one has no meaning and should be disabled)
You can't. Your app cannot dynamically influence what is shown in the Settings app.
Is there a library or good tutorial which covers creating in-app settings, like this:
http://img.skitch.com/20090625-s8bf6ahybwe3cesd1id38h3nt.jpg
What I would like is if it:
doesn't use the built-in Settings app, and does not replicate it's settings in the Settings app
is controlled by a plist file with various Dictionaries and Arrays
creates a nice looking table view
allows edit-in-place text fields as well as switches and sliders and ticks etc
doesn't have any of the annoying problems I've come across when trying to build my own version (not scrolling to show the textfield, cells disappearing)
JUST TO EMPHASIZE: I DO NOT WANT THE SETTINGS TO APPEAR IN THE SETTINGS APP.
It would appear that the iphone dev world is crying out for such a thing.
THANK YOU!
InAppSettingsKit
I've used the open source project InAppSettings, and it works well.