1.实现文字循环滚动
/**
* 实现文字循环滚动
*/
- (void)rollText{
[UIView animateWithDuration:15.0 animations:^{
_infoLabel.x = -_infoLabel.width;
}completion:^(BOOL finished) {
_infoLabel.x = _infoLabel.width;
[self rollText];
}];
}