阅读背景:

更新UIView会生成子视图的对齐/ Swift的哈希值

来源:互联网 

I'm new in Swift. I want to make an app with a moving subview. I'm testing the app, and when i touch down the button, the subview moves with the correct value, but when the parent UIView updates because of changing label, the subview jump back to the origin coordinate what i set up in the storyboard. I use core graphics to draw circle. I want to move the circle on the screen by tap a button. How can i solved this problem?I'm new in Swift. I want to make an app with a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: