Can you file a bug with a complete sample and report the bug# back to the list?
It isn’t immediately obvious to me where the numbers you report are coming from, or why accessibility would speak them, but I can take a look once I have a sample in front of me. > On Apr 5, 2018, at 4:37 AM, Devarshi Kulshreshtha > <devarshi.bluec...@gmail.com> wrote: > > I am programmatically assigning bar button items to UITabBar using below > code: > > -(void)setupTabs { > UIImage *icon1 = [[UIImage imageNamed:@"Icon1"] > imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; > UITabBarItem *option1 = [[UITabBarItem alloc] initWithTitle:@"Option1" > image: icon1 selectedImage: icon1]; > > UIImage *icon2 = [[UIImage imageNamed:@"Icon2"] > imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; > UITabBarItem *option2 = [[UITabBarItem alloc] initWithTitle:@"Option2" > image: icon2 selectedImage: icon2]; > > UIImage *icon3 = [[UIImage imageNamed:@"Icon3"] > imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; > UITabBarItem *option3 = [[UITabBarItem alloc] initWithTitle:@"Option3" > image: icon3 selectedImage: icon3]; > > UIImage *icon4 = [[UIImage imageNamed:@"Icon4"] > imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; > UITabBarItem *option4 = [[UITabBarItem alloc] initWithTitle:@"Option4" > image: icon4 selectedImage: icon4]; > > self.tabBar.items = @[option1, option2, option3, option4]; > } > > Problem is - when I am tapping on respective tab bar item after enabling > Accessibility - Voice Over it is stating the tab bar title as well as > number 104 for first tab, 204 for second tab and so on. > > I have tried explicitly setting the accessibilityValue, accessibilityLabel, > etc for items but it is always speaking the number after title. > > Any ideas on how to stop voice over from speaking that number after title? > > Thanks > > > > -- > Thanks, > > Devarshi > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/david.duncan%40apple.com > > This email sent to david.dun...@apple.com -- David Duncan _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com