You have to set UIButton frame your self. Horizontally Alignment float X_Co = (self.view.frame.size.width - yourButtonWidth)/2; [button setFrame:CGRectMake(X_Co, yourYposition, yourButtonWidth, yourButtonheight)]; Vertically Align float Y_Co = (self.view.frame…

2017年05月15日 0条评论 595点热度 0人点赞 阅读全文