自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 ChivalrousDisappear Privacy Policy Statement

e company respects and protects the privacy of all users who use the service. In order to provide you with more accurate and personalized services, we will use and disclose your personal information i...

2019-10-16 12:41:59 164

原创 WarriorSupperzzle Privacy Policy Statement

he company respects and protects the privacy of all users who use the service. In order to provide you with more accurate and personalized services, we will use and disclose your personal information ...

2019-09-30 19:02:52 325

原创 Wukong Biography Privacy Policy Statement

Wukong Biography Privacy Policy StatementThe company respects and protects the privacy of all users who use the service. In order to provide you with more accurate and personalized services, we w...

2019-09-11 13:10:06 276

原创 生活家

生活家The company respects and protects the privacy of all users who use the service. In order to provide you with more accurate and personalized services, we will use and disclose your personal inf...

2019-09-09 13:26:29 257

原创 Vue 引入全局以及部分js css

js 全局在main.js中导入  import utils from './utils/utils.js'声明 Vue.prototype.$utils = utils在vue 里面就this.$utils.click()js 单独此方法用在单个Vue文件中,通过import {xxx} from ‘路径’引入你的方法css 全局在main.js   引入impor...

2018-11-13 15:47:12 1817

原创 webStorm 搭建vue 开发环境

安装note.js环境创建项目 vue init webpack myprojec next 下一步下一步Use ESLint to lint your code? (Y/n);使用ESlint语法?N (因为在工程的时候缺少一个空格都编译不过)OK克欧克  打开项目配置npm运行 npm run devhello Vue...

2018-11-13 15:17:51 390

原创 iOS获取当前viewctonroller

- (UIViewController *)currentViewController{    UIViewController *vc =self.window.rootViewController;    if ([vcisKindOfClass:[UITabBarControllerclass]]) {        UITabBarController *tab

2016-10-21 13:58:11 470

原创 iOS 处理4.4.3 变成4.43

//处理4.4.3变成4.43- (CGFloat )systemVersion:(NSString *)verSionStr{        NSRange fRange = [verSionStrrangeOfString:@"."];            CGFloat version =0.0f;        if(fRange.locati

2016-10-21 13:55:47 233

原创 iOS 视频AVFoundation使用

iOS9弃用了MPMoviePlayerViewController 使用了AVPlayerViewViewController 框架其中:1.AVPlayer 播放音视频2.AVPlayerItem 音频的对象3.AVPlayerLayer 播放显示视频的图层界面4.AVPlayerViewController 调节控件流程:AVPlayer(

2016-07-21 15:51:50 1314

原创 UICollectionView 使用

1.注意事项边距计算问题(上左下右)-(UIEdgeInsets)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout insetForSectionAtIndex:(NSInteger)section{    return

2016-07-19 19:09:39 191

转载 Masonry使用注意

简要自动布局最重要的是约束:UI元素间关系的数学表达式。约束包括尺寸、由优先级和阈值管理的相对位置。它们是添加剂,可能导致约束冲突 、约束不足造成布局无法确定 。这两种情况都会产生异常。使用前:AutoLayout关于更新的几个方法的区别setNeedsLayout:告知页面需要更新,但是不会立刻开始更新。执行后会立刻调用layoutSubviews。layoutIfNee

2016-07-19 19:01:44 249

原创 Ruby 安装

提示Error fetching http://ruby.taobao.org/:bad response Not Found 404 (http://ruby.taobao.org/specs.4.8.gz)则 bogon:~ ComarMet$ gem sources --add https://ruby.taobao.org/ --remove https://rubyg

2015-10-30 15:30:57 615

原创 iOS 去掉UINavigationBar 下面灰色的线

[[UINavigationBarappearance] setBackgroundImage:[[UIImagealloc] init]forBarMetrics:UIBarMetricsDefault];        [[UINavigationBarappearance] setShadowImage:[[UIImagealloc]init]];

2015-07-10 14:20:38 1097

转载 iOS 上传ipa后预发行 二进制无效

工程里面的 -scheme 里面的Analyze和Archive修改为release 然后Clean

2015-06-02 11:10:26 623

原创 iOS 切换两个RootViewController动画 类似网易云音乐

typedef void (^Animation)(void);    NavLogVC.modalTransitionStyle =UIModalTransitionStyleFlipHorizontal;    Animation animation = ^{        BOOL oldState = [UIViewareAnimationsEnabled];

2015-05-27 10:56:54 4289

原创 iOS 百度地图自定义大头针。

// 其方法就是和一个代理方法即可实现 // 添加一个PointAnnotation    BMKPointAnnotation *pointAnnotation2 = [[BMKPointAnnotationalloc]init];        CLLocationCoordinate2D coor2;    coor2.latitude = 39.815;   

2015-05-14 15:32:45 617

原创 iOS 设置UIActionSheet 按钮颜色

- (void)willPresentActionSheet:(UIActionSheet *)actionSheet {        for (UIView *viewin actionSheet.subviews) {        if (view.tag ==1) {            UIButton *button = (UIButton *) view;

2015-05-12 16:10:32 462

原创 iOS 设置UINavtionController navigationBar 为透明颜色

//设置背景颜色    if ([self.navigationController.navigationBarrespondsToSelector:@selector( setBackgroundImage:forBarMetrics:)]){        NSArray *list=self.navigationController.navigationBar.subviews;

2015-05-12 16:08:31 805

原创 iOS7 禁止某一个界面手势放回

- (void)navigationController:(UINavigationController *)navigationController didShowViewController:(UIViewController *)viewController animated:(BOOL)animated{    if ([self respondsToSelector:@selec

2015-04-28 19:31:11 345

原创 iOS UILable 根据文字的多少改变UILable的大小

iOS 7&7 之前的  CGSize size = [str sizeWithFont:label.font constrainedToSize:CGSizeMake(label.frame.size.width, MAXFLOAT) lineBreakMode:NSLineBreakByWordWrapping];iOS 8 CGRect labelRect = [str bo

2015-04-25 10:47:52 343

空空如也

空空如也

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

TA关注的人

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