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 · Sep 24, 2015 · 2925 views
    This topic created in 3887 days ago, the information mentioned may be changed or developed.
    http://stackoverflow.com/questions/32759701/after-rotation-uiscrollview-cant-set-contentoffset

    蹩脚的英语。

    是我的方法不吗?刚旋转之后有缝隙,似乎是还在用旋转之前的宽高,但我明明已经设置全都用新宽高了。开始滚动之后没问题。。
    1 replies    2015-09-25 14:41:37 +08:00
    strom001
        1
    strom001  
    OP
       Sep 25, 2015
    我又来自问自答了。竟然是代码执行顺序的问题。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2508 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 00:30 · PVG 08:30 · LAX 17:30 · JFK 20:30
    ♥ Do have faith in what you're doing.