Zack Cheang Weng Seong
Zack Cheang Weng Seong

Reputation: 338

When using autoresizing mask layout. How do I satisfy the warnings?

I get this warning.

Views without any layout constraints may clip their content or overlap other views.

However, I am using autoresizing mask, I shouldn't need to use constraints. Is there something I am missing? When resizing to different views, it all works great.

enter image description here enter image description here

Upvotes: -1

Views: 37

Answers (1)

Zack Cheang Weng Seong
Zack Cheang Weng Seong

Reputation: 338

So after tinkering around with it. If you change the layout: Infered(auto resizing mask) -> auto resizing mask. The warnings vanishes...

Upvotes: 0

Related Questions