摘要:
button的初始化有两种一种是动态创建UIButton *button1 = [UIButton alloc]initWithFrame:CGRectMake(0, 0, 80, 50)];接下来设置button属性另一种是静态创建UIButton *button2 = [UIButton buttonWithType:UIButtonTypeRoundedRect];设置button2的frame 阅读全文
posted @ 2012-08-21 16:51
zander
阅读(2159)
评论(0)
推荐(0)
摘要:
不错的博文NSBundle介绍http://blog.sina.com.cn/s/blog_8c87ba3b0100t89v.html大家可以看一下NSLog(@"ios 应用发布后 .app 应用文件 路径::%@",[NSBundle mainBundle] ); NSLog(@"ios 应用发布后 .app 应用包(文件) 的详细信息::%@",[[NSBundle mainBundle] infoDictionary]);[[NSBundle mainBundle]infoDictionary] 返回的是一个数据字典内容如下:(XX1 为当前应用 阅读全文
posted @ 2012-08-21 15:11
zander
阅读(28962)
评论(1)
推荐(2)
摘要:
1.首先添加 MessageUI.framework 框架2. 引入框架 在类的头部 #import <MessageUI/MessageUI.h> #import <MessageUI/MFMailComposeViewController.h>3. 实现接口 <MFMailComposeViewControllerDelegate>4. 当点击一个button 跳转到发邮件的页面 调用我们发邮件发邮件是有两种方式 :1. 当你的设备支持的时候the current device is configured for sending emails 我们使用一 阅读全文
posted @ 2012-08-21 14:09
zander
阅读(5694)
评论(4)
推荐(0)

浙公网安备 33010602011771号