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

问个iPad屏幕旋转时的问题

  •  
  •   elepone · Jul 1, 2012 · 3713 views
    This topic created in 5092 days ago, the information mentioned may be changed or developed.
    我有个正方型UIImageView,大小是768*768的。我在-(void)didRotateFromInterfaceOrientationUIInterfaceOrientation)fromInterfaceOrientation里重新设置了UIImageView的frame.让他能够在屏幕旋转后处在正确的位置。问题是,当我旋转屏幕后,有个明显的从左下角移动到屏幕中间的生硬的动画。而我使用苹果“照片”程序浏览正方形图片,旋转时就非常的流畅。
    哪位能够告诉我一下,这是怎么做到的?谢谢!
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3939 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 05:10 · PVG 13:10 · LAX 22:10 · JFK 01:10
    ♥ Do have faith in what you're doing.