摘要:
报错:ignoring file /Applications/Xcode.app/Contents/Developer/Library/Frameworks/SenTestingKit.framework/SenTestingKit, missing required architecture armv7 in file解决方式:在Framework Search Paths增加:"${DEVELOPER_LIBRARY_DIR}/Frameworks"(包括引号)参考:http://stackoverflow.com/questions/3354891/xcode-sen 阅读全文
摘要:
tar xvf test.tar 阅读全文
摘要:
http://www.voicecloud.cn/index.html 阅读全文
摘要:
To properly get symbols from your archived app's dSYM file and get useful information from your BugSense crash reports (or any other crash reports for that matter):Copy the stack trace from BugSense into TextEdit or any other text editor. Make sure to use the "clipboard" icon, rather t 阅读全文
摘要:
工程的 build Setting 里的 Object-c Automatic Reference Counting 选项,设置成NO就行 阅读全文
摘要:
生成推送证书时候导入签名错误:We are unable to upload this Certificate file because it is invalid. Please check the file and try again解决办法:导出签名时候名字不能留空参考http://stackoverflow.com/questions/16852972/we-are-unable-to-upload-this-certificate-file-because-it-is-invalid-please-checI just had this problem. I'd left t 阅读全文
摘要:
终端中输入以下命令显示Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool true隐藏Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool false输入完回车,重启Finder:左上角的苹果标志-->强制退出-->Finder-->重新启动) 阅读全文
摘要:
CAKeyframeAnimation * animation; animation = [CAKeyframeAnimation animationWithKeyPath:@"transform"]; animation.duration = 0.5; animation.delegate = self; animation.removedOnCompletion = YES; animation.fillMode = kCAFillModeForwards; NSMutableArray *values = [NSMutableArray arr... 阅读全文
摘要:
参考了网上例子NSString *string = [NSStringstringWithFormat:@"请选择和 %@ 阿姨的沟通效果",nameString]; NSMutableAttributedString *attriString = [[[NSMutableAttributedStringalloc] initWithString:string] autorelease]; NSRange range; range.location = 5; range.length = nameString.length; [attriString addAttribut 阅读全文
摘要:
当我们弹出一个提示框的时候,流行的效果是让背景色变为半透明的黑色。但是往往我们把父view设置为黑色半透明时,子view也会变成半透明,这是我们不期望看到的。这里有个比较好的解决办法,用[UIColor colorWithRed:G:B A];方法。而不设置alpha。 阅读全文