iOS 開發經驗 - 轉載

1、禁止手機睡眠 [UIApplication sharedApplication].idleTimerDisabled = YES;2、隱藏某行cell - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{// 如果是你需要隱藏的那一行,返回高度爲0 if(i
相關文章
相關標籤/搜索