POP动画[1]pop动画是facebook扩展CoreAnimation的,使用及其方便:)1:Spring系列的弹簧效果(两个动画kPOPLayerBounds与kPOPLayerCornerRadius同时运行)#import
"RootViewController.h"#import "YX...
分类:
其他好文 时间:
2014-06-11 12:24:30
阅读次数:
514
定制controller转场动画从iOS7开始就可以自由定制控制器间的转场动画了,以下实例描述最简单的定制方式,达到的效果如下所示:为了实现这个效果需要这么多的文件-_-!!!!RootViewController////
RootViewController.h// ControllerCus.....
分类:
其他好文 时间:
2014-06-11 08:46:07
阅读次数:
230
POP动画[2]1:定制控制器间的转场动画.源码有点多-_-!!////
RootViewController.h// Animation//// Copyright (c) 2014年 Y.X. All rights
reserved.//#import @interface RootVie...
分类:
其他好文 时间:
2014-06-08 01:13:36
阅读次数:
735
手动控制界面旋转的核心思路就是利用UIView的transform属性,旋转App的根视图。何为根视图?如果你的App的window.rootViewController是UINavigationController,那么根视图就是navigationController.view。为了旋转的效果和系统的一致,我们还需要为它添加一个UIView动画。...
分类:
移动开发 时间:
2014-06-07 15:28:17
阅读次数:
242
CAGradientLayer渐变颜色动画或许你用过CAGradientLayer,你知道他是用于渐变颜色的,但你是否直到,CAGradientLayer的渐变颜色是可以动画的哦.源码:////
RootViewController.m// CAGradientLayer//// Copyri...
分类:
其他好文 时间:
2014-05-29 00:19:09
阅读次数:
204
CAGradientLayer实现图片渐变透明效果要实现的效果如下:源码:////
RootViewController.m// CAGradientLayer//// Copyright (c) 2014年 Y.X. All rights
reserved.//#import "RootVi...
分类:
其他好文 时间:
2014-05-28 14:30:01
阅读次数:
276
#import #import #import @interface
RootViewController : UIViewController{ AVAudioRecorder *recoder; NSURLConnection
*urlConnection; NSMutabl...
分类:
移动开发 时间:
2014-05-26 07:48:10
阅读次数:
483
IOS目录中RootViewController.mm//显示竖屏- (BOOL)
shouldAutorotate { return NO;}//显示横屏- (BOOL) shouldAutorotate { return
YES;}还有一个屏目适配:AppDelegate 中:CCDire...
分类:
其他好文 时间:
2014-05-25 20:33:59
阅读次数:
205
1、设置cocos2dx竖屏: RootViewController.mm 中- (BOOL)
shouldAutorotate { return NO;} 改为- (BOOL) shouldAutorotate { return YES;}2、项目竖屏
设置项目Targe中的De...
分类:
其他好文 时间:
2014-05-25 19:06:50
阅读次数:
185
引导页1
先在AppDelegate里做一个判断,如果程序是第一次运行也就是在本地没有运行过的记录 (可以通过NSUserDefaults来记录程序是否有运行过的痕迹)2
判断如果程序是第一次运行就把AppDelegate的rootViewController等于引导页,引导页是一个viewCont...
分类:
移动开发 时间:
2014-05-18 20:18:14
阅读次数:
290