- 博客(11)
- 收藏
- 关注
原创 ios xcode4.2 定位bug
见附件 三个值分别为NSAutoreleaseFreeObjectCheckEnabled,NSZombieEnabled,NSDebugEnabled
2012-05-31 09:03:53
86
原创 在webVIew控件上获取scrollerVIew控件
如果你用的是ios5,uiwebView有个属性是scrollView,通过这个属性可以得到它的回调函数。 如果是其他版本,则可以这样获取scrollview:UIScrollView *tScrollV = (UIScrollView *)[[UIWebView subviews] objectAtIndex:0];来获取scrollView,然后调用其回调函数。...
2012-03-29 11:05:11
156
原创 UITextView的Done按键
- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text { if (range.length==0) { if ([text isEqualToString:@"\n"]) { [textView resign...
2011-12-08 17:20:51
356
原创 获取info.plist中信息
NSString *versionStr = [[NSBundle mainBundle]objectForInfoDictionaryKey:@"CFBundleVersion"];
2011-08-17 21:20:11
218
UITableViewCell的使用——自定义tableView视图
[size=x-large]视图需要我们自己去定义样式时用到了TableViewCell组件,效果如下[/size] [img]http://dl.iteye.com/upload/attachment/351794/b1ce7ac1-720f-3078-89e0-8d0d95792390.png[/img] [size=x-large]首先创建View Based App工程,在.xib文件...
2010-11-19 19:13:32
107
在Tag Bar中使用Navgation
[size=x-large]前面分别学到了Tag Bar和Navigation的使用,这次我们把他合起来使用,效果如下图[/size] [img]http://dl.iteye.com/upload/attachment/351231/1d241694-9eac-36a7-9104-c70d08c61c89.png[/img] [img]http://dl.iteye.com/upload...
2010-11-19 10:13:39
133
导航控制器Nav和UITableView的使用
[size=x-large]接着我前两篇的登陆继续做,要完成登录成功后显示出导航控制器Nav,再通过Nav里的跳转实现UITableView,效果如下[/size] [img]http://dl.iteye.com/upload/attachment/350737/72181071-6d80-308b-aba9-cf28c00ddd1a.png[/img] [img]http://dl.i...
2010-11-18 17:17:46
144
标签栏与选取器的使用
[size=x-large]我们要实现下面的效果,就是通过下方的标签栏切换视图来显示不同的选取器[/size] [img]http://dl.iteye.com/upload/attachment/350090/a47e1756-eb8a-37f3-bc39-7504bdc72552.png[/img] [img]http://dl.iteye.com/upload/attachmen...
2010-11-17 18:07:24
92
WebView的简单应用
[size=x-large]我们这次要显示出一个google首页[/size] [img]http://dl.iteye.com/upload/attachment/349384/47301826-8b9c-378c-9955-2467a083e17c.png[/img] [size=x-large]首先制作页面[/size] [img]http://dl.iteye.com...
2010-11-16 18:55:40
115
简单的页面登陆和页面跳转
[size=x-large]首先做出一个登陆的基本页面[/size] [img]http://dl.iteye.com/upload/attachment/347002/a731a023-60ea-3c09-9ac9-5be99813e39b.png[/img] [size=x-large]在.h文件中写出所用到的接口和方法[/size] [code="c"]@interface _1_...
2010-11-12 10:13:07
869
初学者——Objective c 编写简单的计算器
[size=x-large]首先用Interface Builder做出一个简单的计算器图形:[/size] [img]http://dl.iteye.com/upload/attachment/346056/b0b88a35-7009-3a82-9e5b-66a5354bbe8d.png[/img] [size=x-large]先再.h文件中定义好输出口,全局变量还有方法[/size] ...
2010-11-10 18:48:49
595
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人