V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
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
suomy
1D
V2EX  ›  iDev

UIWebView 加载 gif 比正常快

  •  
  •   suomy · Apr 26, 2014 · 3408 views
    This topic created in 4394 days ago, the information mentioned may be changed or developed.
    有个进度条的gif,用UIWebView加载后发现动画比正常的快很多,大家有遇到类似的情况的么?
    7 replies    1970-01-01 08:00:00 +08:00
    alexrezit
        1
    alexrezit  
       Apr 26, 2014
    "正常的" 是指什麼? Delay 屬性的值是多少?
    http://en.wikipedia.org/wiki/Gif#Animated_GIF
    dorentus
        2
    dorentus  
       Apr 26, 2014
    我以前写 https://github.com/dorentus/GifAnimationLayer 的时候,就发现有些第三方查看器自己的实现有问题,本来不正常速率的 gif 到它们那里看起来反而正常了……
    suomy
        3
    suomy  
    OP
       Apr 26, 2014
    @alexrezit 就是我用UIWebView加载的gif的速率比用浏览器和预览程序打开时快很多
    jsonline
        4
    jsonline  
       Apr 26, 2014
    @suomy 你说的「加载」是指「播放」吧
    JoyNeop
        5
    JoyNeop  
       Apr 26, 2014
    Load 还是 play?
    suomy
        6
    suomy  
    OP
       Apr 26, 2014
    @jsonline 播放
    suomy
        7
    suomy  
    OP
       Apr 26, 2014
    @JoyNeop play
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   950 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 68ms · UTC 19:48 · PVG 03:48 · LAX 12:48 · JFK 15:48
    ♥ Do have faith in what you're doing.