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
strom001
V2EX  ›  iDev

诸位帮我看看这个问题,屏幕旋转之后图片位置改变不了

  •  
  •   strom001 · 2015-09-24 20:36:02 +08:00 · 2112 次点击
    这是一个创建于 3138 天前的主题,其中的信息可能已经有所发展或是发生改变。
    http://stackoverflow.com/questions/32759701/after-rotation-uiscrollview-cant-set-contentoffset

    蹩脚的英语。

    是我的方法不吗?刚旋转之后有缝隙,似乎是还在用旋转之前的宽高,但我明明已经设置全都用新宽高了。开始滚动之后没问题。。
    1 条回复    2015-09-25 14:41:37 +08:00
    strom001
        1
    strom001  
    OP
       2015-09-25 14:41:37 +08:00
    我又来自问自答了。竟然是代码执行顺序的问题。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   868 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:33 · PVG 05:33 · LAX 14:33 · JFK 17:33
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.