Re: Compatibility issues with iOS 3.x
Re: Compatibility issues with iOS 3.x
- Subject: Re: Compatibility issues with iOS 3.x
- From: Chris Fleizach <email@hidden>
- Date: Wed, 26 Jan 2011 09:16:40 -0800
On Jan 26, 2011, at 6:18 AM, Bleicher Eiko wrote:
> Hi,
>
> I'm currently working on making our game Shreeder Chess for iOS accessible. It works great so far with 4.x (in fact much better than I'd ever expected), but some questions come up when regarding backward compatibility.
>
> As I want to have a voice announcing moves when they get played, I use
>
> if (UIAccessibilityIsVoiceOverRunning()) {
> NSString *text = ...;
> UIAccessibilityPostNotification(UIAccessibilityAnnouncementNotification, text);
> }
>
> I guess the wrapping makes only sense if the computation of "text" is expensive? As the cost isn't too much overhead I could easily leave this out (as this is only 4.x feature).
>
Yea, wrapping is probably not necessary. UIAccessibilityPostNotification is a no-op if VoiceOver is not on.
> The real problem goes with the announcement itself, as UIAccessibilityAnnouncementNotification is only available since 4.0. Is there any way to make announcements in 3.x?
>
No there is not (not with public API that is)
> Thank you,
> Eiko
>
> _______________________________________________
> 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
_______________________________________________
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