Tag:Red rose

  • Uicollectionviewcell “left display”

    Time:2021-2-13

    1、 Preparation 1.UICollectionView Left Aligned Layout A uicollectionview left display constraintClick download_ UICollectionView Left Aligned Layout 2、 Project catalogue 3、 Custom uicollectionviewcell Collectionviewcell. H creates the uilabel property to pass values #import <UIKit/UIKit.h> @interface CollectionViewCell : UICollectionViewCell @property (nonatomic, strong) UILabel *titleLB;; @end Collectionviewcell. M creates a display text view Here, the text size of […]