Updates from Thu 28 May

This commit is contained in:
Tadeu Zagallo
2015-05-28 16:17:37 +01:00
74 changed files with 1546 additions and 732 deletions

View File

@@ -50,11 +50,8 @@
redboxError = [[RCTRedBox sharedInstance] currentErrorMessage];
foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
if ([view respondsToSelector:@selector(attributedText)]) {
NSString *text = [(id)view attributedText].string;
if ([text isEqualToString:TEXT_TO_LOOK_FOR]) {
return YES;
}
if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
return YES;
}
return NO;
}];