摘要: IOS 判断设备屏幕尺寸、分辨率App 图标 iOS7 适配iOS 屏幕尺寸IOS iPhone、iPad屏幕尺寸 阅读全文
posted @ 2014-05-06 15:33 huluo666 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 简单方法iPhone3 命名为icon.pngiPhone4命名为icon@2.png会自动加载其他官网 https://developer.apple.com/library/ios/qa/qa1686/_index.html步骤1.将设计好的图片,拖拽到Groups&Files的Resource... 阅读全文
posted @ 2014-05-06 15:11 huluo666 阅读(754) 评论(0) 推荐(0) 编辑
摘要: (miki西游 @mikixiyou 原文链接:http://mikixiyou.iteye.com/blog/1753330)在iOS应用开发中,有三类视图对象会打开虚拟键盘,进行输入操作,但如何关闭虚拟键盘,却没有提供自动化的方法。这个需要我们自己去实现。这三类视图对象分别是UITextFiel... 阅读全文
posted @ 2014-05-06 11:42 huluo666 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 转Xcode5.1离线下载安装及使用iOS5模拟器进行开发调试的方法 阅读全文
posted @ 2014-05-06 10:22 huluo666 阅读(226) 评论(0) 推荐(0) 编辑
摘要: //button创建-(void)initUI{ NSArray *imageArr =[NSArray arrayWithObjects:@"hf",@"zfb",@"cft",@"yhk", nil]; //正常状态 NSArray *hImageArr =[NSArray arr... 阅读全文
posted @ 2014-05-06 09:48 huluo666 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1.全屏截图,保存截图到桌面Command+shift+32.标选定区域截图,保存截图到桌面Command+shift+4以上两个操作,如果同时按住Ctrl,最后保存截图在剪切板里3.指定程序窗口截图:Commnad-Shift-4-Space按住鼠标的同时,按空格键,这时你能通过移动鼠标来移动整个... 阅读全文
posted @ 2014-05-05 17:37 huluo666 阅读(280) 评论(0) 推荐(0) 编辑
摘要: #import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController{ UILabel *txtInteger; UILabel *txtFloat; ... 阅读全文
posted @ 2014-05-05 17:29 huluo666 阅读(293) 评论(0) 推荐(0) 编辑
摘要: NSUserDefaults 序列号方法类似于NSArray,常用与存储小规模数据,存在沙盒里,是plist文件第一、保存数据代码:NSUserDefaults *userDefault=[NSUserDefaults standardUserDefaults];NSArray *array=[NS... 阅读全文
posted @ 2014-05-05 14:41 huluo666 阅读(211) 评论(0) 推荐(0) 编辑
摘要: iOS数据保存IOS中NSUserDefaults的用法(轻量级本地数据存储) 阅读全文
posted @ 2014-05-05 14:26 huluo666 阅读(88) 评论(0) 推荐(0) 编辑
摘要: ASIHttpRequest库是一个非常好的库,关于其介绍,请大家查看我的前面的博文。XCode添加第三方库这里直接提交代码。 NSString *str =[NSString stringWithFormat:@"地址"]; NSURL *url=[NSURL URLWithString:str]... 阅读全文
posted @ 2014-05-05 13:47 huluo666 阅读(229) 评论(0) 推荐(0) 编辑
摘要: MATLAB绘制函数的图形.pdfhttp://gc.nuaa.edu.cn/math/data/%E6%95%B0%E5%AD%A6%E5%AE%9E%E9%AA%8C/MATLAB/2-MATLAB%E7%BB%98%E5%88%B6%E5%87%BD%E6%95%B0%E7%9A%84%E5%... 阅读全文
posted @ 2014-05-02 18:28 huluo666 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 原文http://blog.sina.com.cn/s/blog_6b8c3d7a01018803.html一,引入jsonkit NSString *str = nil; //字符串 NSMutableString *string = [[NSMutableString allo... 阅读全文
posted @ 2014-05-02 12:34 huluo666 阅读(1872) 评论(0) 推荐(0) 编辑
摘要: UITextField 1 - (void)viewDidLoad 2 { 3 // UITextField属性总结下,例如下面的: 4 UIImageView * myView = [[ UIImageView alloc]initWithImage:[UIImage image... 阅读全文
posted @ 2014-05-01 08:11 huluo666 阅读(517) 评论(0) 推荐(0) 编辑
摘要: code4app实现微信选取图片并裁剪成头像的控件,拍照,从相册中选取图片http://code4app.com/ios/VPImageCropper/52d3796dcb7e84981b8b6d13 阅读全文
posted @ 2014-04-30 23:02 huluo666 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 系统字体NSArray *familyNames = [[NSArray alloc] initWithArray:[UIFont familyNames]];NSArray *fontNames;NSInteger indFamily, indFont;for (indFamily=0; indF... 阅读全文
posted @ 2014-04-30 23:00 huluo666 阅读(2606) 评论(0) 推荐(0) 编辑
摘要: //导航栏按钮 UIBarButtonItem *doneButton = [[UIBarButtonItem alloc] initWithTitle:@"完成" ... 阅读全文
posted @ 2014-04-30 18:10 huluo666 阅读(205) 评论(0) 推荐(0) 编辑
摘要: #import "loveView.h"//点击按钮-(void)buttonclick{UIWindow *window = [UIApplication sharedApplication].keyWindow;loveView *loveview = [[loveView alloc] ini... 阅读全文
posted @ 2014-04-30 17:54 huluo666 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 请问下UIButton点击后改变背景的方法http://www.cocoachina.com/bbs/read.php?tid-48666-keyword-UIButton.html//初始设置:UIImage *bgImg1 = [UIImage imageNamed:@"Selected.png... 阅读全文
posted @ 2014-04-29 17:18 huluo666 阅读(533) 评论(0) 推荐(0) 编辑
摘要: Objective c里字符串NSString 过滤HTML标签的两种方法 阅读全文
posted @ 2014-04-29 12:01 huluo666 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 本文转载自:http://blog.sina.com.cn/s/blog_79c5bdc30100t88i.html我自己实现的一种可以很方便的实现更换TabBarController图片的方法,代码如下:#import @interface CustomTabBarViewController :... 阅读全文
posted @ 2014-04-28 17:13 huluo666 阅读(307) 评论(0) 推荐(0) 编辑