最新消息:20190529 VPS服务器已从腾讯云香港换为Vultr新加坡,主题仍用朋友推荐的大前端D8

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

Xcode crifan 1260浏览 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,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
62 queries in 0.086 seconds, using 18.78MB memory