01 2015 档案

摘要:-(void)upload_attach:(NSData*)datafileName:(NSString*)filenamemimeType:(NSString*)mtype{AFHTTPClient*httpClient;MBProgressHUD*hud=[[MBProgressHUDallo... 阅读全文
posted @ 2015-01-28 17:00 我去ios 阅读(183) 评论(0) 推荐(0)
摘要:1、线性布局属性一、 linearlayout的属性:android:background 设置整个布局画面的背景android:orientation="horizontal" 子元素的排列队形,是横向排列,还是纵向排列android:gravity="bottom" 子元素在布局中的缺省看齐方式... 阅读全文
posted @ 2015-01-21 21:10 我去ios 阅读(150) 评论(0) 推荐(0)
摘要:待续 阅读全文
posted @ 2015-01-21 20:48 我去ios 阅读(246) 评论(0) 推荐(0)
摘要:第一种:线性布局 这种布局相对是比较简单的,要么竖向排列,要么横向排列[html]view plaincopy 效果如下:第二种:相对布局 相对布局:即相对于一个参照物的位置,那么必须先有参照物,才能确定接下来的控件的位置,例如先有A... 阅读全文
posted @ 2015-01-21 20:25 我去ios 阅读(202) 评论(0) 推荐(0)
摘要:label.font=[UIFontfontWithName:@"Arial-BoldItalicMT"size:24];字体名如下:Font Family: American TypewriterFont: AmericanTypewriterFont: AmericanTypewriter-Bo... 阅读全文
posted @ 2015-01-20 18:01 我去ios 阅读(186) 评论(0) 推荐(0)
摘要:1、环境搭建 内容:安装jdk,ADT,ecelipse, GENEMotion,开发环境可以运行,可以进行下一步的学习。2、掌握页面布局内容 内容:线性布局,相对布局,表格布局,绝对布局,帧布局3、Activity学习4、Service学习5、BroadcastReceiver学习6、Conten... 阅读全文
posted @ 2015-01-19 21:22 我去ios 阅读(159) 评论(0) 推荐(0)
摘要:app尺寸,去掉状态栏CGRectr = [UIScreenmainScreen ].applicationFrame;r=0,20,320,460屏幕尺寸CGRectrx = [UIScreenmainScreen ].bounds;r=0,0,320,480状态栏尺寸CGRectrect;rec... 阅读全文
posted @ 2015-01-19 16:26 我去ios 阅读(721) 评论(0) 推荐(0)
摘要:待续 阅读全文
posted @ 2015-01-18 22:51 我去ios 阅读(139) 评论(0) 推荐(0)
摘要:待续 阅读全文
posted @ 2015-01-18 22:50 我去ios 阅读(146) 评论(0) 推荐(0)
摘要:待续 阅读全文
posted @ 2015-01-18 22:49 我去ios 阅读(240) 评论(0) 推荐(0)
摘要:待续 阅读全文
posted @ 2015-01-18 22:49 我去ios 阅读(164) 评论(0) 推荐(0)
摘要:UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom]; [btn setFrame:CGRectMake(0, ver_start_point, 320, grid_H*3+15+matrix.frame.si... 阅读全文
posted @ 2015-01-15 18:38 我去ios 阅读(401) 评论(0) 推荐(0)
摘要:step1.h文件中声明实现step2.m文件中//单击的Recognizer UITapGestureRecognizer*singleRecognizer;singleRecognizer=[[UITapGestureRecognizeralloc]initWithTarget:selfacti... 阅读全文
posted @ 2015-01-15 17:34 我去ios 阅读(125) 评论(0) 推荐(0)
摘要:待续 阅读全文
posted @ 2015-01-08 23:21 我去ios 阅读(93) 评论(0) 推荐(0)
摘要:待续 阅读全文
posted @ 2015-01-08 23:05 我去ios 阅读(126) 评论(0) 推荐(0)
摘要:待续 阅读全文
posted @ 2015-01-08 23:04 我去ios 阅读(108) 评论(0) 推荐(0)
摘要:ios7以后的标题栏默认风格显示式文字黑色,背景是浅色,但是很多时候我们希望是改成深色背景,白色文字的,怎么改呢在plist里面设置View controller-based status bar appearance 为 NO;设置statusBarStyle 为 UIStatusBarStyle... 阅读全文
posted @ 2015-01-07 17:36 我去ios 阅读(930) 评论(0) 推荐(0)