Open MuRanJiangXia opened 3 years ago
oc 中有这样处理 if (text) _activityView.center = CGPointMake(centerPt.x - frame.size.width/2 - 24 , _labelReadying.center.y); else _activityView.center = CGPointMake(self.frame.size.width/2 , _labelReadying.center.y);
swift 上能加上么
oc 中有这样处理
if (text) _activityView.center = CGPointMake(centerPt.x - frame.size.width/2 - 24 , _labelReadying.center.y); else _activityView.center = CGPointMake(self.frame.size.width/2 , _labelReadying.center.y);
swift 上能加上么