Welcome to MLink Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
538 views
in Technique[技术] by (71.8m points)

IOS,从UIRectEdgeNone布局方式的页面A跳转到UIRectEdgeAll布局方式的页面B,导航栏位置移动问题

IOS页面跳转过程中,从UIRectEdgeNone布局方式的页面A,跳转到UIRectEdgeAll布局方式的页面B时:

  1. 因为初始状态为UIRectEdgeNone,所以页面B的导航栏布局不是从页面最顶部开始布局的。后续因为布局方式改为了UIRectEdgeAll,所以导航栏会向上移动到页面最顶部。
  2. 在页面B中,已经将UIRectEdgeAll设置放置于willAppear中了,但还是可以看到这个调整过程

咨询一下 如何解决这个问题


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to MLink Developer Q&A Community for programmer and developer-Open, Learning and Share
...