react-native-navigation的迁移库

123456789101112
  1. #import "UIView+Utils.h"
  2. @implementation UIView (Utils)
  3. - (UIView *)findChildByClass:(id)clazz {
  4. for (UIView *child in [self subviews]) {
  5. if ([child isKindOfClass:clazz]) return child;
  6. }
  7. return nil;
  8. }
  9. @end