摘要: 在iOS开发过程中,有时需要连接网络。当访问请求,检测到网络不可用时,需要提示用户手动进行设置网络并告知用户操作路径设置可用的网络。 只需一行代码即可实现: - (void)viewDidLoad { [super viewDidLoad]; UIButton *button = [UIButton 阅读全文
posted @ 2016-03-28 11:41 象棋中的象棋 阅读(294) 评论(0) 推荐(0) 编辑