PhotoCell.m 403 B

12345678910111213141516171819202122232425
  1. //
  2. // PhotoCell.m
  3. // LenzCameraNativeModuleForRN
  4. //
  5. // Created by 伯爵 on 2023/2/6.
  6. //
  7. #import "PhotoCell.h"
  8. @implementation PhotoCell
  9. - (void)awakeFromNib {
  10. [super awakeFromNib];
  11. // Initialization code
  12. }
  13. - (void)layoutSubviews{
  14. [super layoutSubviews];
  15. self.imgView.frame = CGRectMake(15, 15, CGRectGetWidth(self.bounds) - 30, CGRectGetHeight(self.bounds) - 30);
  16. }
  17. @end