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