开发者

How to restrict CATransition to a specific view instead of the whole view?

My CATransition code is working fine, but I need that animation limited in width so how to manage this Animation or how to restrict CATransit开发者_如何学编程ion to a specific view?


It isn't clear what you're asking.

What are you applying the transition to? What animates, and what do you want to do differently?

If you apply a transition to a view, it will change that view and everything contained in the view. The only way to not animate a subview (if that's what you're asking) is to make it NOT a subview, and promote it to a sibling of the view that you are animating.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜