I have been using AutoLayout feature. Everything works properly, however if I resize any controls programmatically, others subviews or controls are not arranging accordingly. How do I update the constraint after resized any controls programmatically.
or
Will AutoLayout works after resized the control in code?
Edit:
Here I am resizing text view, based on string, but it is overlapping with below subviews.
 - (void)textViewDidChange:(UITextView *)textView
    {
    if (textView == pupose_txt_view) {
        CGSize maximumLabelSize = CGSizeMake(self.topic_text_view.frame.size.width,
                                             FLT_MAX);
        UILabel *label = [[UILabel alloc] initWithFrame:pupose_txt_view.frame];
        CGSize expectedLabelSize = [pupose_txt_view.text sizeWithFont:pupose_txt_view.font
                                      constrainedToSize:maximumLabelSize
                                          lineBreakMode:label.lineBreakMode];
        CGRect newFrame = pupose_txt_view.frame;
        newFrame.size.height = expectedLabelSize.height;
        pupose_txt_view.frame = newFrame;
    }
}
 
     
    