iOS Bug

作者: 鱼得琴 | 来源:发表于2017-10-11 11:09 被阅读0次

Refresh Bug :

Bug: 添加完数据后一次刷新table,引发多次footRefresh

for battle in arr {

self.battleArr?.append(battle)

}

self.tableView.reloadData()

无错代码: 每添加一条数据就刷新一次table

for battle in arr {

self.battleArr?.append(battle)

self.tableView.reloadData()

}


Button在UIView动画中无法响应点击事件:

options设置为allowUserInteraction

UIView.animateKeyframes(withDuration:3, delay:0, options:UIViewKeyframeAnimationOptions.allowUserInteraction, animations: {

self.flowArrow.y+=30

})

相关文章

网友评论

      本文标题:iOS Bug

      本文链接:https://www.haomeiwen.com/subject/wvoiyxtx.html