autolayout - use code init UITextView, Constraints not working -
use code init uitextview, constraints retuen nsarray count 0
- (void)textviewdidchange:(uitextview *)textview{ nslog(@"constraints:%@",textview.constraints);} 2016-08-08 17:43:32.347 demo[5756:2552780] constraints:()
but use storyboard init ok.
Comments
Post a Comment