会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
沙影无痕
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
14
15
16
17
18
19
20
21
22
下一页
2013年2月21日
UITextView 边框的设置
摘要: 1 导入QuartzCote框架#import 2. 设置边框 input_title.layer.borderColor = [[UIColor blackColor] colorWithAlphaComponent:.2].CGColor; input_title.l...
阅读全文
posted @ 2013-02-21 11:03 沙影无痕
阅读(175)
评论(0)
推荐(0)
2013年2月5日
NSString 转化为NSDate, NSDate 转化为本地(localtime)时间
摘要:
阅读全文
posted @ 2013-02-05 15:08 沙影无痕
阅读(91)
评论(0)
推荐(0)
2013年1月31日
NSDate 的一些操作(比较、创建、在现有date加减一定时间等)
摘要: 创建当前时间NSDate *date = [NSDate date];从现在开始的24小时 NSTimeIntervala_day =24*60*60; NSDate*tomorrow = [NSDatedateWithTimeIntervalSinceNow:a_day];根据已有日期创建...
阅读全文
posted @ 2013-01-31 16:22 沙影无痕
阅读(165)
评论(0)
推荐(0)
2013年1月23日
关于Quicklook 以及 QLPreviewController
摘要: Quicklook 支持的文件:iWork文档微软Office97以上版本的文档RTF文档PDF文件图片文件文本文件和CSV文件首先需要加入framework:然后加入头文件:#import 在需要进入快速查看的地方初始化(这里只显示一个文件):local_file_URL = [NSURL fil...
阅读全文
posted @ 2013-01-23 17:04 沙影无痕
阅读(203)
评论(0)
推荐(0)
2013年1月17日
关于 ios4. 系统的statusbar 隐藏后顶部出现横条问题
摘要: 在进入全屏模式的时候,顶部的statusbar 进行了隐藏,但是顶部任然有一个20像素的横条;测试过程中仅仅在ios 4中会出现这种问题,在网上搜索到的很多答案都是采用, xx-Info.plist 里面加入然后在需要加载statusbar的地方加入[[UIApplication sharedApp...
阅读全文
posted @ 2013-01-17 15:22 沙影无痕
阅读(193)
评论(0)
推荐(0)
2013年1月15日
UITableView 实例详解 滑动编辑 headerView
摘要: self.dataArray = [[[NSMutableArray alloc]init] autorelease]; NSArray *array = [NSArray arrayWithObjects:[NSArray arrayWithObjects:@"Beijing",@"...
阅读全文
posted @ 2013-01-15 15:38 沙影无痕
阅读(179)
评论(0)
推荐(0)
C# ListView用法详解
摘要: 一、ListView类1、常用的基本属性: (1)FullRowSelect:设置是否行选择模式。(默认为false) 提示:只有在Details视图该属性才有意义。 (2)GridLines:设置行和列之间是否显示网格线。(默认为false)提示:只有在Details视图该属性才有意义。 (3)...
阅读全文
posted @ 2013-01-15 11:55 沙影无痕
阅读(317)
评论(0)
推荐(0)
UIToolBar 背景图片设置
摘要: UIToolbar *toolBar = [[[UIToolbar alloc]initWithFrame:CGRectMake(0, self.scrollView.frame.size.height, self.view.frame.size.width, 30)] autoreleas...
阅读全文
posted @ 2013-01-15 11:47 沙影无痕
阅读(242)
评论(0)
推荐(0)
点击button 发亮效果 设置
摘要: 点击一个home button的时候出现以上发亮效果;具体设置:UIButton *homeButton = [[UIButton alloc] initWithFrame:frame];[homeButton setImage:[UIImage imageN...
阅读全文
posted @ 2013-01-15 09:06 沙影无痕
阅读(317)
评论(0)
推荐(0)
关于 setBackgroundImage 和 setImage
摘要: 关于UIButton,既可以采用setBackgroundImage 来设置底部图片,同时也可以采用 setImage方法;两者还是有一定区别的;首先setBackgroundImage,image会随着button的大小而改变,图片自动会拉伸来适应button的大小,这个时候任然可以设置butto...
阅读全文
posted @ 2013-01-15 08:48 沙影无痕
阅读(236)
评论(0)
推荐(0)
上一页
1
···
14
15
16
17
18
19
20
21
22
下一页
公告