详细信息:
using (var archive = new ZipArchive(memoryStream, ZipArchiveMode.Create, true))
{
var entry = archive.CreateEntry("MyFileName.txt");
using (var streamWriter = new StreamWriter(entry.Open()))
{
streamWriter.Write("It was the best of times, it was the worst of times...");
}
}
//ADD THIS LINE
memoryStream.Position = 0;
response.Content = new StreamContent(memoryStream);
来更新DispatchQueue.main.asyncAfter(deadline: ...
的{{1}},这会导致与快照行为相关联的视图与动画捕捉(带动画)到新的捕捉点。snapPoint
,每个圆形视图一个堆叠在另一个上面。UISnapBehavior
。换句话说,我希望视图A开始动画到t0的位置,视图B开始在t1动画,并且视图C开始在t2动画。问题:
动画的时机很奇怪。例如:
这里发生了什么?