メイン ビューが表示されているときに、常に繰り返しアニメーション化 (フェードイン、フェードアウト) したい特定の UIButton があります。しかし、TableView やその他の UIButton など、ユーザーの操作が必要な他のオブジェクトがあります。
アニメーションを追加した後、既にUIViewAnimationOptionAllowUserInteraction
.
これが私のコードです:
[UIView animateWithDuration:2.0
delay:0.0
options:UIViewAnimationOptionAllowUserInteraction|UIViewAnimationOptionRepeat|UIViewAnimationOptionAutoreverse
animations:^{
sendOrderButton.alpha = 0.0;
}
completion:nil
];
前もって感謝します!:)