iOS UIScrollView弹性问题
摘要:UIScrollorView自带越界回弹的属性,那么它在什么样的情况下,弹性会消失呢1、scrollorView.bounce = false2、scrollorView设置了contentSize,并且contentSize的尺寸小于等于scrollorView的尺寸。那么,有时候contentS
阅读全文
posted @
2021-02-07 14:50
懂事长qingzZ
阅读(353)
推荐(0) 编辑
富文本换行文字间隔NSMutableParagraphStyle与NSParagraphStyle的使用
摘要:参考 https://blog.csdn.net/u013346305/article/details/50896308
阅读全文
posted @
2021-02-05 18:28
懂事长qingzZ
阅读(65)
推荐(0) 编辑
iOS 单个控制器隐藏 导航栏下划线
摘要:- (void)useMethodToFindBlackLineAndHindWithHidden:(BOOL)hidden{ UIImageView* blackLineImageView = [self findHairlineImageViewUnder:self.navigationCont
阅读全文
posted @
2021-02-03 14:10
懂事长qingzZ
阅读(297)
推荐(0) 编辑
iOS UICollectionView reloadData后立即获取contentSize.height高度
摘要:自定义view重写layoutsubviews 方法 核心属性 listView.collectionViewLayout.collectionViewContentSize.heighttableview 同样适用 - (void)layoutSubviews { [super layoutSub
阅读全文
posted @
2021-02-03 09:50
懂事长qingzZ
阅读(1595)
推荐(0) 编辑
UICollectionView添加headerView
摘要:参考: [iOS]UICollectionView添加headerView https://blog.csdn.net/wsyx768/article/details/81100584
阅读全文
posted @
2021-02-02 18:19
懂事长qingzZ
阅读(228)
推荐(0) 编辑
iOS UICollectionReusableView xib 拖不了线
摘要:新建uicollectionreusableview 的xib文件上的控件拖不了线 手动关联一下···然后就可以拖线了··· 参考 https://cloud.tencent.com/developer/article/1156159
阅读全文
posted @
2021-02-02 11:56
懂事长qingzZ
阅读(325)
推荐(0) 编辑
UICollectionView Cell大小自适应 并靠左对齐最简单的实现
摘要:使用框架 https://github.com/mokagio/UICollectionViewLeftAlignedLayout 参考: UICollectionView 一行cell如何左对齐https://www.jianshu.com/p/f042944a605d [iOS]UICollec
阅读全文
posted @
2021-02-01 11:33
懂事长qingzZ
阅读(1496)
推荐(0) 编辑