自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Error creating project. Could not find an option named "androidx".

Error creating project. Could not find an option named "androidx". Empty folders are created, but no project. flutter upgrade --force

2020-02-17 14:36:34 619

转载 iOS Action Extension

原文见 http://www.jianshu.com/p/7f8472a97aa6

2017-11-27 17:13:02 473

转载 iOS中关闭屏幕旋转功能时如何判断屏幕方向

原文地址:http://www.jianshu.com/p/692e7a490747 本来一般情况可以使用通知来做 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(orientChange:) name:UIDeviceOrientationDidChangeNotification

2015-11-13 10:54:32 1525

原创 iOS 整体项目竖屏 相机横屏

//横屏方法: AppDelegate.m 中添加监听 //监听页面翻转     [[NSNotificationCenter defaultCenter]addObserver:self selector:@selector(setOrientationPortrait:) name:KNotification_setOrientationPortrait o

2015-11-02 15:16:55 8478

原创 iOS 图片不显示越界部分

self.imageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, ImageW, ImageH)];         self.imageView.contentMode = UIViewContentModeScaleAspectFill;         self.imageView.clipsToBo

2015-11-02 14:40:59 1169

原创 iOS 进度条 UIProgressView

- (void)initProgressView{     _myProgressView = [[UIProgressView alloc]initWithProgressViewStyle:UIProgressViewStyleDefault];     _myProgressView.frame = CGRectMake(0, 4, DTSCREEN_WIDTH

2015-10-30 17:43:06 933

原创 iOS 设置button的image偏移量

[_carbrandBtn setContentHorizontalAlignment:UIControlContentHorizontalAlignmentLeft]; [_carbrandBtn setImageEdgeInsets:UIEdgeInsetsMake(0, 100, 0, 0)];

2015-10-28 19:07:17 1534

转载 Xcode .gitignore

切换到git控制的程序目录  从别处拷贝 或者自己创建一个.gitignore  内容如下 Xcode /Demo/Demo-Info.plist .DS_Store /build/ *.pbxuser !default.pbxuser *.mode1v3 !default.mode1v3 *.mode2v3 !default.mode2v3 *.perspectiv

2015-10-28 18:22:25 590

原创 iOS开发之不会就百度: UISearchController 修改外观

- (void)initSearchController{          _searchController = [[UISearchController alloc] initWithSearchResultsController:nil];     _searchController.searchBar.tintColor = LogoColor;     _s

2015-10-28 10:51:52 560

空空如也

空空如也

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

TA关注的人

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