随笔分类 - iphone开发
iphone ipad 开发
摘要:ios6 safari new api教你用HTML5开发iPhone应用程序用 HTML5 给 iPad,iPhone 打造速度超快的应用
阅读全文
摘要:UI SWSnapshotStackView
阅读全文
摘要:App design tip – CABasicAnimation basics
阅读全文
摘要:http://www.teehanlax.com/downloads/
阅读全文
摘要:iPhone重绘机制iPhone 双缓冲机制
阅读全文
摘要:对不同版本定义不同casehttp://stackoverflow.com/questions/367368/how-to-define-a-preprocessor-symbol-in-xcode
阅读全文
摘要:AVFoundationframeworkCoreMediaframework+ (UIImage*) thumbnailImageForVideo:(NSURL *)videoURL atTime:(NSTimeInterval)time { AVURLAsset *asset = [[[AVURLAsset alloc] initWithURL:videoURL options:nil] autorelease]; NSParameterAssert(asset); AVAssetImageGenerator *assetImageGenerator = [[[AVAssetImageGe
阅读全文
摘要:Registering Custom URL Schemes and Handling URL Requests
阅读全文
摘要://找出一个数组NSFileManager*fileManager=[NSFileManagerdefaultManager];NSString*defaultPath=[[NSBundlemainBundle]resourcePath];NSError*error;NSArray*directoryContents=[fileManagercontentsOfDirectoryAtPath:defaultPatherror:&error]//匹配字符串,反回结果,SELF==表示数组中每一个元素NSString*match=@"imagexyz-999.png";
阅读全文
摘要:1.莫名碰到[[[Class alloc] init] autorelease] 调用时执行-(id)initWithFrame:(CGRect)frame原因:没有 重载init方法,就默认执行 重载的frame方法2.UISerachBar 去除背景框for (UIView *subview in searchBar.subviews) { if ([subview isKindOfClass:NSClassFromString(@"UISearchBarBackground")]) { [subview removeFromSuperview]; break; }}3
阅读全文
摘要:设备被拿走,问题无法重现,只能先记录一下了导航到工程目录下, 删除整个Build目录 。相关链接:“Failed to upload *.app on Device ” Error in iPhone该方法跟clean all 的区别是可以删除 app.build,
阅读全文
摘要:苹果官方例子-scrollViewpageControl 例子的关键是使用的延迟加载的思想 ,如uitableview的reuse uitableviewcell一样同时考虑用户体验其他参考:Detect Single Tap in UIScrollViewScrollingMadness---------选择单触事件对象-(void)touchesBegan:(NSSet*)toucheswit...
阅读全文
摘要:1.应用程序本地通知 效果图关键字:UILocalNotification 2.多线程操作关键字:NSInvocationOperation NSOperationQueue [self.tableView performSelectorOnMainThread:@selector(reloadData) withObject:nil waitUntilDone:YES];3.Insert...
阅读全文
摘要:1.UITextField2.NSArray
阅读全文
摘要:iPhone的九宫格实现代码Customizing the background/border colors of a UITableView (grouped style)
阅读全文