1 Reply
      Latest reply on Jul 11, 2015 11:07 AM by Rincewind
      BjornE Level 1 Level 1 (0 points)

        How do I do KVO for the bounds of a subview? I know I should go for the layer, but how do I get to the subview?

         

        Lets use this example:

        UIView *childView [[UIView allow] init];
        [self.view addSubview:childView];
        

         

        Should I start with "[self.view.layer addObserver..." and then make some magic in the keypath?

         

        /BE