Strange error message
Strange error message
- Subject: Strange error message
- From: Matthias Schmitt <email@hidden>
- Date: Fri, 27 Sep 2013 12:03:04 +0200
Hello,
I am on my way to port my apps to iOS 7 using Xcode 5. My program runs fine in the simulator (iOS 6 and 7), but when I try to start it on my iPhone 5 (iOS 7.0.2) it crashes with the error message:
+[UILabelAccessibility installCategoryOnClassNamed:isManaged:]: unrecognized selector sent to class 0x12ed74
The program passes the 'init' of my application delegate, but fails before reaching 'application didFinishLaunchingWithOptions'.
I creates a class 'UILabelAccessibility', which inherits from UILabel, but this class, nor the rest of my sources, has a method named 'installCategoryOnClassNamed'. In the Apple documentation I could not find any other class named 'UILabelAccessibility' nor any method named 'installCategoryOnClassNamed', which might cause confusion.
This is the complete implementation of my 'UILabelAccessibility' class:
- (id)initWithFrame:(CGRect)aRect
{
self = [super initWithFrame:aRect];
if (self) {
accLang = nil;
}
return self;
}
- (NSString *)accessibilityLanguage {
if (accLang != nil) return accLang;
return [super accessibilityLanguage];
}
As my program is presenting content in multiple languages I am using the class to switch the VO language when reading mixed language content.
Any ideas what routine might call 'installCategoryOnClassNamed'?
Best regards
Matthias Schmitt
magic moving pixel s.a.
23, Avenue Grande-Duchesse Charlotte
L-3441 Dudelange
Luxembourg
Phone: +352 54 75 75 - 0
http://www.mmp.lu
_______________________________________________
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