cocos2d 2.0中使用UIScrollView卡的解决办法
来源:互联网 发布:java drawimage 效率 编辑:程序博客网 时间:2024/05/29 09:12
目前的解决办法是在CCDirectorDisplayLink 的startAnimation 方法中
在calculateDeltaTime 方法中
在calculateDeltaTime 方法中
//[displayLink_ addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
timer_ = [NSTimerscheduledTimerWithTimeInterval:animationInterval_target:selfselector:@selector(mainLoop:)userInfo:nilrepeats:YES];
[[NSRunLoopcurrentRunLoop] addTimer:timer_ forMode:NSRunLoopCommonModes];
timer_ 是在.h文件中 声明的 NSTimer 的成员变量
dt =timer_.timeInterval;
- cocos2d 2.0中使用UIScrollView卡的解决办法
- cocos2d 2.0中使用UIScrollView卡的解决办法
- quick-cocos2d-x UIScrollView使用
- 苹果4的手机中UIscrollview无法滑动的解决办法
- iOS中UIScrollView和UIPageControl的使用
- IOS中UIScrollView的详细使用
- UIScrollView滑不动的解决办法
- UIScrollView无法滚动的解决办法
- UIScrollView无法滚动的解决办法
- UIScrollView UIPageControl 的使用
- UIScrollView的简单使用
- UIScrollView的使用大全
- UIScrollView的使用大全
- UIScrollView的使用大全
- UIScrollView的使用大全
- UIScrollView的使用大全
- UIScrollView的简单使用
- UIScrollView的简单使用
- ICE的属性设置
- U-boot的编译流程
- web.xml中的welcome-file(访问相对路径时配置默认访问文件)
- 二叉树的前序遍历、中序遍历、后续遍历 (包括递归、非递归,共六种)
- 数据结构学习记录-两个链表相加之函数指针的运用
- cocos2d 2.0中使用UIScrollView卡的解决办法
- Android--入门---12---(android 布局的学习)
- 闪回笔记
- 数据结构学习记录-矩阵的快速转置
- SVN常用命令
- CGAL::Surface_mesh_default_criteria_3<Tr>
- MFC自定义消息通信
- c# 调用windows API(user32.dll)
- SRAM和DRAM区别