上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 39 下一页

2013年10月25日

ios 开发环境,证书和授权文件

摘要: 一、成员介绍1.Certification(证书)证书是对电脑开发资格的认证,每个开发者帐号有一套,分为两种:1)Developer Certification(开发证书)安装在电脑上提供权限:开发人员通过设备进行真机测试。可以生成副本供多台电脑安装;2) Distribution Certification(发布证书)安装在电脑上提供发布iOS程序的权限:开发人员可以制做测试版和发布版的程序。不可生成副本,仅有配置该证书的电脑才可使用;(副本制做介绍在下面Keychain中介绍)2.Provisioning Profile(授权文件)授权文件是对设备如iPod Touch、iPad、iPho 阅读全文

posted @ 2013-10-25 10:19 Hai_阔天空 阅读(507) 评论(0) 推荐(0)

2013年10月24日

如何使用iOS 开发证书 和 Profile 文件

摘要: 如果你想在 iOS 设备(iPhone/iPad/iTouch)上调试, 需要有 iOS 开发证书和 Profile 文件。 在你拿到这两个文件之后,该如何使用呢?证书使用说明: 1. iOS 开发证书:开发证书 (Development Certificate)是一个后缀为 .p12的文件(Certificates.p12);在Mac 系统下, 双击这个文件,这个证书会自动导入到 Mac 下的 key chain (钥匙链)目录下。2. iOS 发布证书:发布证书 (Distribution Certificate)是一个后缀为 .p12 的文件(Certificates.p12); 在Ma 阅读全文

posted @ 2013-10-24 15:51 Hai_阔天空 阅读(5779) 评论(1) 推荐(0)

2013年10月23日

TestFlight

摘要: 1.这是用来做什么的? 目前我们提交ipa发给测试员或客户的时候要先问来对方的串号,然后打包ipa,最后发给对方。但是对于非程序员来说,串号如何找?如何在itunes上安装ipa?这两个是非常头疼的难题。而TestFlight就是用来解决这个问题。2.如何使用? 2.1 首先,需要在https://testflightapp.com上注册一个账号。 2.2 然后创建一个team(也就是项目),然后邀请一个email。 2.3 对方在手机上使用safari打开email里的邀请链接,注册一个账号,或登录。对方在手机上一步一步继续按照提示,会要求在手机的设置里安装一个证书。最后这样就是接受... 阅读全文

posted @ 2013-10-23 09:31 Hai_阔天空 阅读(1112) 评论(0) 推荐(0)

2013年10月14日

ios 自定义UITableView中分组的标题sectionview

摘要: //Section的标题栏高度-(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{ if (section == 0) return 46; else return 30.0f;} -(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{ CGRect headerFrame = CGRectMake(0... 阅读全文

posted @ 2013-10-14 13:52 Hai_阔天空 阅读(1245) 评论(0) 推荐(0)

2013年9月29日

ios UITableView多选删除

摘要: 第一步,- (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath { return UITableViewCellEditingStyleDelete | UITableViewCellEditingStyleInsert;} UITableViewCellEditingStyleDelete是出现红的减号,再点一下就出来划动时出现的删除钮;UITableViewCellEditingStyleI... 阅读全文

posted @ 2013-09-29 16:17 Hai_阔天空 阅读(572) 评论(0) 推荐(0)

2013年9月26日

ios 给UIImageView添加阴影

摘要: _borderView.layer.shadowColor = [UIColor grayColor].CGColor;_borderView.layer.shadowOffset = CGSizeZero; _borderView.layer.shadowOpacity = 1.0;_borderView.layer.shadowRadius = 2;_borderView.backgroundColor = [UIColor whiteColor];_borderView.clipsToBounds = NO; 阅读全文

posted @ 2013-09-26 14:37 Hai_阔天空 阅读(909) 评论(0) 推荐(0)

2013年9月22日

ios sqlite的创建数据库,表,插入查看数据

摘要: iOS sqlite数据库操作。步骤是:先加入sqlite开发库libsqlite3.dylib,新建或打开数据库,创建数据表,插入数据,查询数据并打印1、新建项目sqliteDemo,添加使用sqlite的库libsqlite3.dylib2、sqlite 的方法sqlite3 *db, 数据库句柄,跟文件句柄FILE很类似sqlite3_stmt *stmt, 这个相当于ODBC的Command对象,用于保存编译好的SQL语句 sqlite3_open(), 打开数据库,没有数据库时创建。 sqlite3_exec(), 执行非查询的sql语句 Sqlite3_step(), 在调用sql 阅读全文

posted @ 2013-09-22 15:17 Hai_阔天空 阅读(580) 评论(0) 推荐(1)

ios UITableView高度自适应(转)

摘要: 1 - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { 2 // 列寬 3 CGFloat contentWidth = self.tableView.frame.size.width; 4 // 用何種字體進行顯示 5 UIFont *font = [UIFont systemFontOfSize:13]; 6 7 // 該行要顯示的內容 8 NSString *content = [data... 阅读全文

posted @ 2013-09-22 10:43 Hai_阔天空 阅读(1249) 评论(0) 推荐(0)

2013年9月18日

ios 将图片做成圆形

摘要: UIImageView * imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"oiuyfdsa.png"]]; imageView.frame = CGRectMake(20.f, 20.f, 100.f, 100.f); imageView.layer.masksToBounds = YES; imageView.layer.cornerRadius = 50; 阅读全文

posted @ 2013-09-18 13:02 Hai_阔天空 阅读(289) 评论(0) 推荐(0)

ios 如何对UITableView中的内容进行排序

摘要: - (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath{ return UITableViewCellEditingStyleNone;}//排序调整- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)sourceIndexPath toIndexPath:(NSIndexPath *)destinati... 阅读全文

posted @ 2013-09-18 11:23 Hai_阔天空 阅读(734) 评论(0) 推荐(0)

上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 39 下一页

导航