摘要:
001-修改根视图,利用导航Push 前提必须是根视图: 返回: [self.navigationController popViewControllerAnimated:YES]; 002-Present方式: 返回: [self dismissViewControllerAnimated:YES 阅读全文
摘要:
ios三种取随机数的方法: 1. srand((unsigned)time(0)); //不加这句每次产生的随机数不变 int i = rand() % 5; 2. srandom(time(0)); int i = random() % 5;3. int i = arc4random() % 5 阅读全文