UIView beginAnimations with subviews

后端 未结 2 1560
陌清茗
陌清茗 2021-02-01 10:25

I have a nice and easy \"zoom\" animation for a view, which starts as a dot and animates up to full screen size:

        [UIView beginAnimations:nil context:NULL];
         


        
2条回答
  •  滥情空心
    2021-02-01 10:59

    You can always use the auto-sizing in the interface builder . This way you can specify the left/margin which you don't want to change and the axis along which you want the particular sub-view to resize to .

    Autosizing feature

提交回复
热议问题