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

UIWebView 加载 gif 比正常快

  •  
  •   suomy · 2014-04-26 17:31:18 +08:00 · 2864 次点击
    这是一个创建于 3656 天前的主题,其中的信息可能已经有所发展或是发生改变。
    有个进度条的gif,用UIWebView加载后发现动画比正常的快很多,大家有遇到类似的情况的么?
    7 条回复    1970-01-01 08:00:00 +08:00
    alexrezit
        1
    alexrezit  
       2014-04-26 17:43:13 +08:00
    "正常的" 是指什麼? Delay 屬性的值是多少?
    http://en.wikipedia.org/wiki/Gif#Animated_GIF
    dorentus
        2
    dorentus  
       2014-04-26 18:00:04 +08:00
    我以前写 https://github.com/dorentus/GifAnimationLayer 的时候,就发现有些第三方查看器自己的实现有问题,本来不正常速率的 gif 到它们那里看起来反而正常了……
    suomy
        3
    suomy  
    OP
       2014-04-26 18:30:18 +08:00
    @alexrezit 就是我用UIWebView加载的gif的速率比用浏览器和预览程序打开时快很多
    jsonline
        4
    jsonline  
       2014-04-26 18:52:48 +08:00
    @suomy 你说的「加载」是指「播放」吧
    JoyNeop
        5
    JoyNeop  
       2014-04-26 19:11:26 +08:00
    Load 还是 play?
    suomy
        6
    suomy  
    OP
       2014-04-26 19:57:20 +08:00
    @jsonline 播放
    suomy
        7
    suomy  
    OP
       2014-04-26 19:57:29 +08:00
    @JoyNeop play
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5631 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 06:30 · PVG 14:30 · LAX 23:30 · JFK 02:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.