简体   繁体   中英

Voice over or accessibility for UIPage control

Current implementation of my iOS app is like I have a pagination enabled UIScrollView . I have to enable voice over for the same which should voice over the use for pages like "this is the first view", "this is the custom view","this is the nature Photos view" on scrolling to the 1st,2nd or 3rd pages.

Problem- problem is the voice over repeats like Page 1 of 3, page 2 of 3, Page 3 of 3 rather than the given messages.

you have to use Accessibility Attributes like Label in this case and set the message you want.

You can follow this wonderful tutorial, which will also guide you to debug and test.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM