摘要: 分四个步骤 1 自定义presentationController 继承UIPresentationController 2.自定义percentDrivenTransition 继承 UIPercentDrivenInteractiveTransition绑定手势 3自定义persentAnima 阅读全文
posted @ 2017-08-07 11:37 没落云端 阅读(357) 评论(0) 推荐(0) 编辑
摘要: //这个方法无论是远程推送还是程序间调用都用到了- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { //先注册远程通知 [s... 阅读全文
posted @ 2015-12-03 13:49 没落云端 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 因为工程目录含有隐藏svn文件,解决办法1. cd 到工程文件件2. find . -name ".svn" | xargs rm -Rf 阅读全文
posted @ 2015-10-30 11:25 没落云端 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1.修改Info.plist文件 添加一个View controller-based status bar appearance 并设置为YES(这样viewcontroller设置状态栏的优先级高于[UIApplication shareApplication]设置状态栏的优先级)2.在viewW... 阅读全文
posted @ 2015-05-21 17:07 没落云端 阅读(126) 评论(0) 推荐(0) 编辑
摘要: UIView *view=[[UIView alloc] init]; view.backgroundColor=[UIColor clearColor]; [tableView setTableFooterView:view]; 阅读全文
posted @ 2015-05-21 14:38 没落云端 阅读(136) 评论(0) 推荐(0) 编辑
摘要: if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0) { [self.navigationBar setBarTintColor:[UIColor colorWithRed:255/255.0 green:83/255... 阅读全文
posted @ 2015-05-19 15:13 没落云端 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 需要将tableview初始化及绘制单元格代理中添加如下代码://初始化添加self.tableView_chose =[ [UITableView alloc] init];if ([self.tableView_chose respondsToSelector:@selector(setSepa... 阅读全文
posted @ 2015-04-29 12:13 没落云端 阅读(422) 评论(0) 推荐(0) 编辑
摘要: /* QAxObject excel("Excel.Application"); excel.setProperty("Visible", false); QAxObject *work_books = excel.querySubObject("WorkBooks"); ... 阅读全文
posted @ 2015-03-12 14:18 没落云端 阅读(3242) 评论(0) 推荐(0) 编辑