V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
NovemberEleven
V2EX  ›  iDev

xcode 7.1 每次启动, storyboard 的自定义界面都会自动跑到左上角。

  •  
  •   NovemberEleven · 2015-11-09 09:30:28 +08:00 · 2298 次点击
    这是一个创建于 3097 天前的主题,其中的信息可能已经有所发展或是发生改变。

    蛋疼,每次打开 storyboard 都要 update frames 。有没有跟我一样的?
    还有更新后的 xcode 在用 storyboard 的时候经常崩溃。啊呜呜

    7 条回复    2015-11-09 14:08:13 +08:00
    pedestrianc
        1
    pedestrianc  
       2015-11-09 09:54:45 +08:00
    update frames 是以约束为标准改变 frame 。。约束是不是有问题
    anerevol
        2
    anerevol  
       2015-11-09 10:02:15 +08:00
    记得上个 Xcode 版本用 storyboard 崩溃得我人都要崩溃了 7.1 崩溃问题好很多了。
    楼主说的问题表示没遇到过
    zapper
        3
    zapper  
       2015-11-09 11:29:17 +08:00
    这个问题我在 6.x 时代好像都见过
    是约束问题
    alexzuo
        4
    alexzuo  
       2015-11-09 12:32:31 +08:00
    现在 7.1 的插件没问题吗?我上周装的很多插件都没有效果。
    lyragosa
        5
    lyragosa  
       2015-11-09 12:58:16 +08:00
    7.1 一样崩溃得要死,偏偏编辑 storyboard 只能用 xcode 不能用 appcode
    NovemberEleven
        6
    NovemberEleven  
    OP
       2015-11-09 14:04:55 +08:00
    @pedestrianc 约束应该没有问题吧,我是把控件放屏幕中间偏下一点,然后打开的时候是在左上角, update 一下就回到中间了。
    pedestrianc
        7
    pedestrianc  
       2015-11-09 14:08:13 +08:00
    @NovemberEleven update constrains ,,,有可能是你的约束是把 view 放到中间,但是 frame 是在屏幕中间偏下。。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2204 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 15:38 · PVG 23:38 · LAX 08:38 · JFK 11:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.