Apply affine transform to view in Interface Builder

Can I apply an affine transform to a view directly in Interface Builder? I know that I can connect the outlet and assign it to a conversion in the code, but I would like for me to visually configure the conversion in Interface Builder.

+3
source share
1 answer

Nope. Unfortunately.

There are several properties that would be nice to set in IB. Sometimes Apple adds them, and then IB warns you that it is "only supported on iPhone OS 3.0 and higher" or similar (I think this applies to contentEdgeInsets in some class or other).

, XML, (, - NSStringFromCGAffineTransform), , , Apple .

, xib, -[UIView initWithCoder:] . InterfaceBuilder , IB...

+1

Source: https://habr.com/ru/post/1766482/


All Articles