自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 iOS 验证码倒计时

属性@property (weak, nonatomic) IBOutlet UIButton *getCodeBtn;@property (nonatomic, assign) NSInteger secondsCountDown;@property (nonatomic, strong) NSTimer *countDownTimer;方法//倒计时- (void)timeOutActio

2017-11-29 16:55:30 282

原创 iOS umeng 获取deviceToken

AppDelegate.m 中- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken{ [UMessage registerDeviceToken:deviceToken]; NSString *toke

2017-11-24 15:04:36 1450

原创 iOS开发实现HTTPS之 cer 文件的使用

iOS开发中实现支持HTTPS,有两种方法:一是后台那边都处理好了,移动端直接可以使用HTTPS接口,二是后台给移动端一个服务器证书cer 文件,这时我们就需要将cer文件导入到我们的工程中,以下是实现方法 1. 双击证书,这时证书已经添加到了钥匙串中 2. 将cer 文件拖入工程中 3. 如果使用的是AFNetwotking 的话,在代码中添加以下代码//AFHTTPSessi...

2017-11-07 10:52:00 2306

原创 上传文件到GitHub

下面这个方法非常详细: 上传文件到GitHub但是操作完可能会出现这个问题 hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Merge the remote changes (e.g. ‘git pull’) hint: bef

2017-11-02 15:24:15 261

原创 在navigationBar上添加searchBar 并设置字体

//添加搜索框- (void)addSearchBar{ CGRect mainViewBounds = self.navigationController.view.bounds; self.searchBar = [[UISearchBar alloc] initWithFrame:CGRectMake(CGRectGetWidth(mainViewBounds)/2-((CG

2017-11-02 14:46:22 1307

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除