摘要:
UIImage imageNamed和[UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:imageName ofType:nil]];NSString *path = [[NSBundle mainBund... 阅读全文
摘要:
http://blog.sina.com.cn/s/blog_5d68044001018s1n.htmlscrollview里面多张图片,每张都能放大缩小-(void)viewDidLoad{[superviewDidLoad];self.view.backgroundColor=[UIColorw... 阅读全文
摘要:
1.UINavigationControllerpopToViewController 对应popViewControllerAnimated:也可以使用:[self.navigationController popToRootViewControllerAnimated:YES][self.nav... 阅读全文
摘要:
//1. NSArray EOItems *eOItems = [[EOItems alloc] init]; eOItems.ID = [NSNumber numberWithInt:1]; NSArray *arr = [NSArray arrayWithObjects... 阅读全文
摘要:
http://blog.sina.com.cn/s/blog_87533a0801012nv0.html用xib生成的UITextField文字默认是水平左对齐,垂直居中对齐的,但是用代码生成的UITextField确是默认是水平左对齐,垂直顶对齐。到UITextField的头文件看了一下,发现只有... 阅读全文
摘要:
下面是苹果审核指南下载地址:粗略的看了, 总结了几条:1.收费问题:1.1. 苹果不允许在程序里设置收费, 启动隐藏功能, 这种程序是绝对过不了的1.2. 设置的收费额度越高, 苹果审核得越严格1.3. 避开收费, 挂免费, 给测试帐号和密码等登录信息, 一个字都不要提收费2. 程序问题:2.1. ... 阅读全文
摘要:
转载自:http://blog.csdn.net/kingsley_cxz/article/details/91570931.UIImagePickerController的静态方法:imagepicker = [[UIImagePickerController alloc]init];//UIIm... 阅读全文
摘要:
http://blog.csdn.net/jerryvon/article/details/752614720:50:42一.读取图片1.从资源(resource)读取[cpp]view plaincopyprint?UIImage*image=[UIImageimageNamed:@"1.jpg"... 阅读全文
摘要:
http://blog.csdn.net/l_ch_g/article/details/8477187例子上写的比较浅显易懂, 不过我还是稍微总结一下:导入JSONKit.h之后字符串转NSDictionary: 使用NSData对象方法 [nsDataObj objectFromJSONData]... 阅读全文
摘要:
http://blog.csdn.net/w13770269691/article/details/38704941在已有的git库中搭建新库,并且将本地的git仓库,上传到远程服务器的git库中,从而开始一个新的项目首先,在本地新建文件夹abc,进入到abc里面,然后git init。这样就在本地... 阅读全文