- 博客(16)
- 资源 (1)
- 收藏
- 关注
转载 UIalert view一些做法!
往UIAlertView中添加UITextField模拟登录框 Usage:MAlertView *alert = [[MAlertView alloc] initWithTitle:@"Title" message:nil delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK",nil];
2012-02-28 14:26:14 717
原创 如何在Mac机上设置host
1, 双击桌面 "Macintosh HD"图标.2, 单击图标 Applications>Utilities>Terminal3, 在terminal界面中输入: sudo vi /etc/hosts 然后回车4,会提示让你输入密码 oooooooo.(注意输入密码时你看不到*号)5,输入成功以后,在出现的界面中按e,转入
2012-02-27 08:57:15 2489
原创 App Store 状态列表
Waiting for Upload (Yellow) Appears when you’ve completed entering your metadata, however, you have not finished uploading your binary or have chosen to upload your binary at a later time. Your app
2012-02-24 12:49:52 2012
原创 [BEROR]No architectures to compile for (ARCHS=i386, VALID_ARCHS=armv6 armv7).错误
[BEROR]No architectures to compile for (ARCHS=i386, VALID_ARCHS=armv6 armv7).在Bulid Settings选项下面的Architectures一栏里,在Valid Architectures里加入一项i386,问题解决
2012-02-23 12:49:19 1820
转载 Issue: Icon.png: icon dimensions (0 x 0) don’t meet the size requirements
提交app的时候总是报出icon的错误iPad:Icon.png: icon dimensions (0 x 0) don’t meet the size requirements. The icon file must be 72×72 pixels起初以为图片坏了, 后来才发现好像是 10.7.3 的系统bug修复方法:将Compress PNG Files 设置为 N
2012-02-23 10:36:08 1037
原创 CSSMERR_TP_NOT_TRUSTED Command /usr/bin/codesign failed with exit code 1错误解决办法
https://discussions.apple.com/message/8568135#8568135I spent a day and a half on this one. The scary thing is everyone's cookbook procedure is different and may or may not work for a given individ
2012-02-22 18:20:11 6402 1
原创 objective-c字符串处理函数
/1、创建常量字符串。NSString *astring = @"This is a String!";//2、创建空字符串,给予赋值。NSString *astring = [[NSString alloc] init];astring = @"This is a String!";[astring release];NSLog(@"astring:%@",astring
2012-02-22 12:49:15 2384 1
转载 iPhone UI 元素大小
UI 元素大小" style="margin-top:0px; margin-right:0px; margin-bottom:0px; margin-left:0px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-style:initial; border-color:initi
2012-02-20 18:13:59 1682
原创 ios返回当前时间,精确到毫秒。
- (NSString *)getTimeNow{ NSString* date; NSDateFormatter * formatter = [[NSDateFormatter alloc ] init]; //[formatter setDateFormat:@"YYYY.MM.dd.hh.mm.ss"]; [formatter setDateForm
2012-02-20 14:49:57 29025
转载 一个签名错误的解决——codesign failed with exit code 1
一个签名错误的解决——codesign failed with exit code 1前日,Macbook的硬盘不幸挂了,于是将开发环境迁移到Mac Mini下。大家知道,对于Xcode来说,最麻烦的就是各种证书、ProvisioningProfile的配置问题。将原来的各种开发证书和.p12证书导入到mini上,接下来就碰到了各种莫名其妙的问题。先是无法development(可
2012-02-17 16:30:25 1718
转载 iphone之NSString, char, NSData相互转化
iphone之NSString, char, NSData相互转化2011-06-08 16:38:371. NSString转化为UNICODE String:(NSString*)fname = @“Test”; char fnameStr[10];memcpy(fnameStr, [fname cStringUsingEncoding:NSUnicodeStr
2012-02-14 19:40:50 1047
转载 iOS开发之iPhone通过get和post方式请求asp.net webservice
iOS开发之iPhone通过get和post方式请求asp.net webservice这篇文章,我将通过一个简单的例子来展现iPhone通过get和post方式请求asp.net webservice。webservice1、创建一个webservice2、在webconfig中启用http get 和http post。 webServices
2012-02-14 19:26:04 3757
原创 今天碰到个错误,ile was built for unsupported file format which is not the architecture being linked (armv7)
ld: warning: ignoring file /Users/xuguo/Desktop/FengjingIOS/StoreKit.framework/StoreKit, file was built for unsupported file format which is not the architecture being linked (armv7)ld: warning: ign
2012-02-14 10:45:10 6651
转载 使用委托(delegate)在不同的窗口之间传递数据
使用委托(delegate)在不同的窗口之间传递数据在IOS里两个UIView窗口之间传递参数方法有很多,比如 1.使用SharedApplication,定义一个变量来传递. 2.使用文件,或者NSUserdefault来传递 3.通过一个单例的class来传递 4.通过Delegate来传递。今天想在两个UIViewControll
2012-02-13 15:31:46 1151
转载 产品创新的秘诀
Marty Cagan是享有世界声誉的产品管理专家,曾经担任网景副总裁、eBay产品管理及设计高级副总裁。本文是他回顾自己二十多年来从事软件产品管理工作的总结和经验分享,谈到了产品创新应该注意的问题,以及在大公司创新的方法。创新就是这样被扼杀的我拜访了两家软件技术公司(都不在硅谷),它们近期都引入了六西格玛顾问。我非常惊讶,我本以为六西格玛的思想在高科技公司早已销声匿迹了。我希望这只是个别
2012-02-09 21:49:15 762
转载 IAP(程序内购买): 完全攻略
http://tr4work.blog.163.com/blog/static/1371493142011425114346676/In App Purchases: A Full WalkthroughBy Troyon January 17, 2010 第一印象觉得In-App Purchase(简称IAP)非常简单。Apple提供的大量文档应该让开发者很快
2012-02-08 09:55:28 615
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人