自定义博客皮肤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 575

转载 iOS Action Extension

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

2017-11-27 17:13:02 418

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

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

2015-11-13 10:54:32 1464

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

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

2015-11-02 15:16:55 8347 1

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

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

2015-11-02 14:40:59 1112

原创 iOS 进度条 UIProgressView

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

2015-10-30 17:43:06 877

原创 iOS 设置button的image偏移量

[_carbrandBtnsetContentHorizontalAlignment:UIControlContentHorizontalAlignmentLeft];[_carbrandBtnsetImageEdgeInsets:UIEdgeInsetsMake(0,100, 0, 0)];

2015-10-28 19:07:17 1492

转载 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 544

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

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

2015-10-28 10:51:52 518

空空如也

空空如也

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

TA关注的人

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