[self.viewsendSubviewToBack:imageView];

定义imageview 的中心位置

imageView.center = CGPointMake(rand()%(int)self.view.frame.size.width, rand()%(int)self.view.frame.size.height);    //图片的中心位置

相关文章:

  • 2021-08-08
  • 2021-08-03
  • 2021-09-04
  • 2022-12-23
  • 2021-09-15
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2021-06-16
  • 2021-10-21
  • 2022-12-23
  • 2021-10-11
相关资源
相似解决方案