草庐IT

resultViewController

全部标签

ios - 每次呈现时查看 Controller 原点更改

我的ViewController应该是这样的:有时候是这样的:我想在圆圈中显示一个ViewController,然而,几乎每次圆圈中的ViewController(ResultViewController)出现时,它的位置都不同,尽管它的属性没有改变根本。这是我的代码:funcopenCircle(withCentercenter:CGPoint,dataSource:([Items],Int,String)){self.addCircle(withCenter:center,dataSource:dataSource)}funcaddCircle(withCentercircleCe