UIView displays improperly after its layer has been animated
问题 I have a problem I don't understand regarding UIViews and Core Animation. Here's what I want to do: A small view is presented above a bigger view by putting it as one of its subviews. When I click a button inside this view, the view should minimize and move to a specified CGRect. Then the view is removed from its superview. The first time I present, minimize-and-move and remove the view, everything works fine. But when I present the view again, it displays at the modified position (even