如:自定义一个可以点击的 图文

#import <UIKit/UIKit.h>

@interface UD_Button : UIControl
@property(nonatomic,strong)UIImageView *contentImageView;
@property(nonatomic,strong)UILabel *contentLabel;

- (instancetype)initWithFrame:(CGRect)frame centerInset:(CGFloat)centerInset updownInset:(CGFloat)updownInset imageName:(NSString *)imageName labelString:(NSString *)labelString labelFont:(CGFloat)font;
@end
.h

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-14
  • 2021-12-18
  • 2021-11-04
  • 2021-04-06
猜你喜欢
  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2021-08-29
  • 2022-01-29
  • 2022-12-23
相关资源
相似解决方案