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

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -