在存在遮挡的ViewController的ViewDidload函数里添加以下两句即可解决
self.edgesForExtendedLayout = UIRectEdge.None
self.automaticallyAdjustsScrollViewInsets = false
具体什么情况我也不清楚,还请高人指点
在ViewController的ViewDidload函数中添加self.edgesForExtendedLayout=UIRectEdge.None 和 self.automaticallyAdjustsScrollViewInsets=false这两句代码,可以解决存在的遮挡问题,具体原因尚不明确。
在存在遮挡的ViewController的ViewDidload函数里添加以下两句即可解决
self.edgesForExtendedLayout = UIRectEdge.None
self.automaticallyAdjustsScrollViewInsets = false

被折叠的 条评论
为什么被折叠?
