0
根據文檔此調用UIViewAnimationOptionAllowUserInteraction是否應用於視圖動畫或整個屏幕?
[UIView animateWithDuration:0.3 animations:^{
someView.alpha = 1.0;
}];
相當於
[UIView animateWithDuration:0.3 delay:0.0 options:0 animations:^{
someView.alpha = 1.0;
} completion:nil];
- 因此不沿UIViewAnimationOptionAllowUserInteraction選擇傳球。如果未添加此選項會發生什麼情況?
動畫中的所有視圖(在此示例中爲)是否都未收到任何用戶交互或是否適用於整個屏幕?
所有我的文檔中找到的是
UIViewAnimationOptionAllowUserInteraction
允許,而他們正在動畫用戶與意見交流。