左/右の 2 つの UIView のアニメーションに問題があります。基本的にプッシュ/ポップ スタイルのアニメーションです。問題は、時々それらがくっつかず、それらの間に背景色 (縦線) が見えることです。それはいつも起こるわけではありませんが、面倒で、何が間違っているのかわかりません。
編集:これは実際のデバイスでのみ発生します。iOS シミュレーター (通常または網膜) では、垂直線は常に表示されず、アニメーションは非常に正確です。
要するに私のコードは次のとおりです。
UITableView *table1 = ...
UITableView *table2 = ...
table1.center = onScreenCenter; // This is the center of the screen
table2.center = leftOffScreenCenter; // This is the on screen center - width of the table2
CGPoint rightOffScreenCenter = ... // The right offscreen
[UIView animateWithDuration:kSearchBarAnimationDuration
delay:0
options:UIViewAnimationOptionCurveEaseOut
animations:^{
table1.center = rightOffScreenCenter;
table2.center = onScreenCenter;
} completion:nil];