gpt4 book ai didi

Swift - animateWithDuration 完成访问错误

转载 作者:行者123 更新时间:2023-11-30 13:04:49 35 4
gpt4 key购买 nike

   let downFrame = CGRect(x: 0, y: ScreenSize.height, width: ScreenSize.width, height: ScreenSize.height-Constants.navBarHeight)

UIView.animateWithDuration(0.3, animations: {
self.frame = self.downFrame
},
completion: nil)

Animation move view out of screen. Then crash in comletion

最佳答案

你的代码运行得很好

Self.downFrame 的值(value)是什么?

关于Swift - animateWithDuration 完成访问错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39530167/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com