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

2017年12月27日

tableview属性

摘要: UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:ID]; if(cell==nil){ cell=[[UITableViewCell alloc]initWithStyle:UITableViewCellSty 阅读全文

posted @ 2017-12-27 10:43 高彰 阅读(190) 评论(0) 推荐(0)

iOS导航栏背景,标题和返回按钮文字颜色

摘要: 援引:https://www.cnblogs.com/sunfuyou/p/6477539.html 在iOS7下,默认导航栏背景,颜色是这样的,接下来我们就进行自定义,如果你仅仅是更改一下背景和颜色,代码会很简单,不需要很复杂的自定义View来替代leftBarItem 更改导航栏的背景和文字Co 阅读全文

posted @ 2017-12-27 10:31 高彰 阅读(553) 评论(0) 推荐(0)

2017年12月26日

iOS tabbar图标保持原图不被渲染

摘要: 阅读全文

posted @ 2017-12-26 15:33 高彰 阅读(1261) 评论(0) 推荐(1)

2017年12月23日

iOS 判断字符串中含有某个字符串 rangeOfString

摘要: //判断roadTitleLab.text 是否含有qingjoin if([roadTitleLab.text rangeOfString:@"qingjoin"].location !=NSNotFound)//_roaldSearchText { NSLog(@"yes"); } else { 阅读全文

posted @ 2017-12-23 16:08 高彰 阅读(35965) 评论(0) 推荐(0)

2017年12月13日

修改iOS返回按钮的几种方式

摘要: 第一种 UIImage *backButtonImage = [[UIImage imageNamed:@"back"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 25, 0, 0)]; [[UIBarButtonItem appearance] setBackButtonBackgroundImage:backButtonImage f... 阅读全文

posted @ 2017-12-13 15:00 高彰 阅读(5547) 评论(0) 推荐(0)

2017年12月8日

iOS 声明全局变量

摘要: @property (nonatomic ,strong)UIButton *btnVolsub;@property (nonatomic, strong) NSArray *dayArr;@property (nonatomic, strong) NSCondition *condLock;//条 阅读全文

posted @ 2017-12-08 15:05 高彰 阅读(1464) 评论(0) 推荐(0)

iOS 10.0以后蓝牙'CBCentralManagerStateUnknown' is deprecated: first deprecated in iOS 10.0 - Use CBManagerState instead这类警告

摘要: 出现这个警告,是说iOS10.0以后蓝牙的这几个方法名字换了一下而已,简单讲就是 阅读全文

posted @ 2017-12-08 09:55 高彰 阅读(4375) 评论(0) 推荐(0)

2017年12月7日

iOS pch文件配置

摘要: 援引 http://www.jianshu.com/p/202dd6a3ea8d 1/2. 创建pch文件 创建pch文件 2/2. 配置pch文件到项目 注意: * $(SRCROOT)/$(PRODUCT_NAME)/文件名.pch 例如本处为$(SRCROOT)/$(PRODUCT_NAME) 阅读全文

posted @ 2017-12-07 11:20 高彰 阅读(168) 评论(0) 推荐(0)

iOS 背景图片设置

摘要: 还有 self.view.layer.contents = (id)[UIImage imageNamed:@"你的背景图片"].CGImage; // 设置背景图片 NSImageView *imageView=[[NSImageView alloc]initWithFrame:CGRectMak 阅读全文

posted @ 2017-12-07 10:37 高彰 阅读(3750) 评论(0) 推荐(0)

2017年12月6日

iOS button label 透明色

摘要: // // ViewController.m // 7.13蓝牙 // // Created by computer on 16/7/13. // Copyright © 2016年 computer. All rights reserved. // #import "ViewController. 阅读全文

posted @ 2017-12-06 15:39 高彰 阅读(604) 评论(0) 推荐(0)

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

导航