UIViewがアニメーションの途中にあるかどうかを確認する方法はありますか?ビューオブジェクトを移動中に印刷すると、「アニメーション」エントリがあることに気付きます。
search bar should end editing: <UISearchBar: 0x2e6240; frame = (0 0; 320 88); text = ''; autoresize = W+BM; animations = { position=<CABasicAnimation: 0x6a69c40>; bounds=<CABasicAnimation: 0x6a6d4d0>; }; layer = <CALayer: 0x2e6e00>>
アニメーションが停止してビューを印刷すると、「animations」エントリはなくなります。
search bar should end editing: <UISearchBar: 0x2e6240; frame = (0 0; 320 88); text = ''; autoresize = W+BM; layer = <CALayer: 0x2e6e00>>