摘要:
appid是在iTunesConnect创建应用时自动生成的ID 阅读全文
摘要:
//NSString 转 UInt8 NSString *str = @"测试转换"; UInt8 buff_str[1024]; memcpy(buff_str,[str UTF8String], [str length]+1); NSLog(@"char = %s",buff_str); NSS 阅读全文
摘要:
进行开发中,遇到了个小问题: 在使用UINavigationController的-pushViewController:animated:执行入栈一个子控制器操作时(即最新栈顶子控制器),会出现推出(即入栈)"卡顿"现象, 原因:这是因为从iOS7开始, UIViewController的根vie 阅读全文
摘要:
运行程序后,xcode 不显示当前使用的内存情况,问题是打开了僵尸--enable zoombie Objects,关闭即可 打开 product >SCheme-->EditSCheme -->enable zoombie Objects 取消选中 ok 就可以继续显示了 阅读全文
摘要:
转:http://www.wangzhengdong.com/blog/error-domainnsurlerrordomain-code-999-the-operation-couldnt-be-completed.html – (void)webView:(UIWebView *)webView 阅读全文
摘要:
// 获取相册中的资源[group enumerateAssetsWithOptions:NSEnumerationReverse usingBlock:^(ALAsset *result, NSUInteger index, BOOL *stop) { if (result) { NSLog(@" 阅读全文
摘要:
例如有一个方法: - (int)openFile:(NSString *)path vsFile:(void **)pFile openMode:(int)mode; 调用的时候: void *vsFile; (前面的void * 要跟方法里面的保持一致) [self openFile:path v 阅读全文
摘要:
NSString *tempSavePath = [NSString stringWithFormat:@"%@/Documents",kDocumentPath]; NSFileHandle *fileHandle = [NSFileHandle fileHandleForUpdatingAtPa 阅读全文
摘要:
svn服务器地址变换之后,mac下的处理方法 svn服务器地址变换之后,mac下的处理方法 1、进入终端,进入项目所在的文件夹下: [java] view plain copy cd 项目位置/ [java] view plain copy [java] view plain copy 2、查看sv 阅读全文
摘要:
今天在svn提交的时候它卡顿了一下,我以为已经提交完了,就按了一下,结果就再也恢复不了,也继续不了了... 报错 cleanup failed–previous operation has not finished; run cleanup if it was interrupted 试过执行cle 阅读全文