cocos2d 中使用UiKit 各种view
来源:互联网 发布:java帝国时代 编辑:程序博客网 时间:2024/05/21 06:32
//在cocos2d Layer中添加UIKit view
UIView *view;
[[[CCDirector sharedDirector]openGLView]addSubview:view];
// 删除cocos2d layer中view
// 去除所有UIKit的View组件
-(void)removeUIViews
{
NSArray *subviews = [[[CCDirector sharedDirector]openGLView] subviews];
for (id subview in subviews)
{
[((UIView *)subview) removeFromSuperview];
subview = nil;
}
}
- cocos2d 中使用UiKit 各种view
- 怎样在 UIKit 中使用 Cocos2d-x
- Cocos2d和UIKit的结合使用
- Cocos2d 2.0与UIKit结合使用
- 如何结合使用Cocos2d和UIKit
- Cocos2D-iPhone和Uikit混合使用问题
- 在 Android 中使用各种控件(View)
- 在 Android 中使用各种控件(View)
- cocos2d+uikit常用函数
- View Hierarchy [UIKit]
- UIKit之View
- UIKit各种框架大全
- UIKit和Cocos2d-x的整合使用;设置CCEAGLView背景为透明,来显示背后的UIView; 以及整合中遇到的问题的解决方案
- 如何在iOS7中使用UIKit动力之UICollisionBehavior
- 在cocos2d中使用UITextField时出现各种奇葩的问题
- Cocos2d中各种坐标位置关系
- Cocos2d 中对图片的各种操作
- Cocos2d 中对图片的各种操作
- http://blog.csdn.net
- TL-R478 R488路由器QOS设置
- 左手是糖 右手是匕首
- mms
- php-Arrays 函数-array_multisort-对多个数组或多维数组进行排序
- cocos2d 中使用UiKit 各种view
- midl : error MIDL2398 : cannot execute MIDL engine
- Google因Google+错失收购Twitter良机?
- 深受启发的21个故事
- 如何去甄别一条网络传播消息的真假?
- HANDLE_##message
- I2C编程实例
- MeanShift运动目标跟踪 matlab程序
- 一个list集合列表绑入repeater进行分页