VoiceOver issue with UIStackView when device is in landscape
VoiceOver issue with UIStackView when device is in landscape
- Subject: VoiceOver issue with UIStackView when device is in landscape
- From: Vincenzo Rubano <email@hidden>
- Date: Tue, 26 Apr 2016 21:47:19 +0200
Hi all,
in an iOS application I am developing, I’m facing a weird accessibility issue that I’d like to know how to work around, if possible at all. Steps to reproduce:
0. Create a storyboard based application, a simple single view application is good to go.
1. Add a ViewController or use the one provided by the project template;
2. Add a StackView to the ViewController's view.
3. Add a few components (at least 2) to the StackView (e.g. 3 labels).
4. Set the StackView axis to vertical.
5. Pin the StackView to its parent top, leading and trailing margins.
6. Run the application on an iOS device, I used my iPhone 5 running iOS 9..3.1, making sure that the ViewController created previously is displayed.
If the device is in portrait, VoiceOver sounds will let you know that the StackView items are aligned vertically as they appear on screen. If you rotate the device to landscape, though, VoiceOver sounds will let you know that the StackView arranged subviews are aligned orizontally, but that’s not true: they’re aligned vertically as they should be.
It looks like VoiceOver cannot report accurately the arranged subviews alignment when the device is in landscape. In fact, if you rotate it back to portrait, VoiceOver resumes reporting the items alignment properly.
Is there a workaround for this issue? In general I rely on VoiceOver to check if the layout of my apps matches what I expect, so it would be very important for me to be able to work it around ASAP since I am developing this app as part of my CS degree course at university.
Thanks in advance for your support!
Vincenzo Rubano.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden