voiceover

Custom VoiceOver actions in UITableViewCell

不想你离开。 提交于 2019-12-22 03:59:27
问题 When a UITableView is editable, its UITableViewCells allow the user to perform custom actions when VoiceOver is on. The user can hear the available actions by swiping up or down while the VoiceOver cursor is on the cell and then invoke the actions by double tapping anywhere on the screen. There are only two actions available in my cells: Delete (invokes the usual cell deletion) and Default (invokes a tap on the cell). My question is two-fold: Is there a way of adding custom VoiceOver actions

VoiceOver announces dimmed instead of disabled for buttons

别等时光非礼了梦想. 提交于 2019-12-21 20:00:13
问题 iOS 8.x VoiceOver announces dimmed instead of disabled for buttons that have been disabled. Is there a way to programmatically get VoiceOver to say "disabled" instead of "dimmed"? 回答1: There are ways to do what you want, but you absolutely should not use them. The announcement "Dimmed" occurs, when the User Interaction Enabled trait is set to NO . This is the way VoiceOver users are use to on screen, focusable, but disabled elements being announced. Forcing your app to behave in another

UIAccessibility change UITableView voiceover announcements (row # of #)

这一生的挚爱 提交于 2019-12-21 16:23:12
问题 With VoiceOver enabled a user can use a 3 finger swipe gesture to scroll TableViews. VoiceOver verbally announces to the user a phrase indicating their location on the tableview i.e. the rows that are visible such as "Rows 1 to 4 of 5". I would like to override this verbal prompt and get voiceover to announce something else to the user. 回答1: You can't change only the message. You will have to override accessibilityScroll: and do the scrolling and then post the scroll announcement (at least I

Moving Accessibility Voiceover cursor focus to a specific element

别说谁变了你拦得住时间么 提交于 2019-12-21 04:08:33
问题 I'm having an issue with moving the voiceover cursor to a specific element on viewDidAppear. I followed Apple's guidelines for focusing on a specific element, in this case a dismiss button, but the cursor ends up elsewhere Here is my Code: - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; UIAccessibilityPostNotification(UIAccessibilityScreenChangedNotification, self.dismissButton); } Any help, ideas, would definitely be appreciated! thank you so much. 回答1: If I remember

AccessibilityHint for Back Button in Navigation Controller for VoiceOver

岁酱吖の 提交于 2019-12-20 04:10:51
问题 Is there any way to set accessibilityHint for back button? I would like that voiceover read first "Back Button" and after this Hint e.g. "Double tap to go back to select a building screen" I'm trying to do it that way but it's not working: in viewDidLoad: [super viewDidLoad]; // back button without any text just back arrow UIBarButtonItem *backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"" style:UIBarButtonItemStylePlain target:nil action:nil]; self.navigationItem

when VoiceOver is on, is there a way an app can detect a single-finger (left-right)swipe?

ε祈祈猫儿з 提交于 2019-12-20 03:19:52
问题 When VoiceOver is active on an iOS device, the single-finger swipe(left or right) gesture allows users to browse the different elements in the view. Is there a way to detect if a user used the single-finger swipe gesture when using voiceover? 回答1: You might be asking either of 2 things: You want to know when the VoiceOver user successfully issued the single-finger swipe left/right gesture to VoiceOver - VoiceOver will process ("steal") the gesture from your code and do its thing (move

Is it possible to assign an accessibility action to a UILabel?

时光毁灭记忆、已成空白 提交于 2019-12-19 19:56:15
问题 In our current UI, next to certain labels, we have a help-tip button that when clicked, explains the details of what the label references. As such, VoiceOver identifies these two items as separate accessibility items. However, when using accessibility, we're hoping we can just do everything in the label itself. This way when the label gets focused, the user will here 'Account value, $20 (the accessibilityLabel), double-tap for help (the accessibilityHint)' However, unlike a button, a label

AccessibilityBundle files not found when I test my app with VoiceOver on

守給你的承諾、 提交于 2019-12-14 03:18:42
问题 When I try to test my app on my 4.3.2 device with VoiceOver turned on I get the following warnings: warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3.2 (8H7)/Symbols/System/Library/AccessibilityBundles/AccessibilitySettingsLoader.bundle/AccessibilitySettingsLoader (file not found). warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3.2 (8H7)/Symbols/System/Library/AccessibilityBundles/UIKit.axbundle/UIKit (file

UITextView setup for Voice Over to select/read by paragraph

我们两清 提交于 2019-12-14 02:32:18
问题 I have a UITextView set up with an updating log that I'm trying to make accessible. I'd like to have it so, with Voice Over enabled, and entire paragraph is selected and read. Currently I can either set the accessibilityTrait and have the entire view read aloud in one giant block, or not set the accessibilityTrait set and have only a single line selected at a time. Is there a way to block paragraphs together for VoiceOver? Here is the code I'm currently using: NSString *string =

Informing voiceover users that they have highlighted an element within a container

泪湿孤枕 提交于 2019-12-13 17:26:42
问题 I'm looking to implement something for voiceover users that is similar to how Apple handles the miniplayer in their Music app. In the miniplayer, there are a number of accessibility elements: the album artwork, the track metadata, the play and forward buttons. When a user first selects an element within the miniplayer, the voiceover reads "Miniplayer; double tap to expand the miniplayer" before giving the label for the element selected. But if you navigate between elements in the miniplayer,