最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[已解决]Xcode的StoryBoard中警告:will be different at run time

Xcode crifan 4100浏览 0评论
Base.lproj/LaunchScreen.storyboard Frame for "launch_logo" will be different at run time.
Base.lproj/LaunchScreen.storyboard Position will be (258, 120) at run time but is (194, 158) in the canvas.
Base.lproj/LaunchScreen.storyboard Size will be (84, 84) at run time but is (240, 128) in the canvas.

搜:

xcode storyboard will be different at run time

ios – Frame "will be different at run time"…. Isn’t that the whole point? – Stack Overflow

对应的该警告,立刻消失了:

继续:

依次,继续去解决剩余警告,即可消除所有警告:

[总结]

当Xcode中的StoryBoard中出现:

will be different at run time

的警告时:

点击对应的警告-》Xcode会自动定位到对应的组件上去-》点击  |-∆-| Solve Auto Layout Issues -》 Update Frames-》即可消除该警告

转载请注明:在路上 » [已解决]Xcode的StoryBoard中警告:will be different at run time

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
82 queries in 0.174 seconds, using 22.07MB memory