Supporting UIAccessibilityAnnouncementDidFinishNotification in iOS5
Supporting UIAccessibilityAnnouncementDidFinishNotification in iOS5
- Subject: Supporting UIAccessibilityAnnouncementDidFinishNotification in iOS5
- From: Kwasi Mensah <email@hidden>
- Date: Mon, 25 Mar 2013 09:08:09 -0700
In my application I use UIAccessibilityAnnouncementDidFinishNotification and UIAccessibilityAnnouncementKeyWasSuccessful but I also want to target it to iOS5. I'm using checks like this to see if I can use the symbols.
if( &UIAccessibilityAnnouncementDidFinishNotification != NULL )
{
NSLog(@"not NULL");
...do stuff
}
Interestingly enough in the simulator it prints "not NULL" (assuming the symbol was defined privately). But if try to use the symbol (even through indirection) I get dynamic linker errors in the simulator. Like this example below:
//dynamic linker not happy :(
NSString* const* tempStringAddr = &UIAccessibilityAnnouncementDidFinishNotification;
I'm trying not to use the literal values of these constants in my code but I'm not sure how else to go about supporting ios 5.
Thanks,
Kwasi
_______________________________________________
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