摘要: [UIApplication sharedApplication].applicationState will return current state, check it possible values and don’t create unnecessary flags when you can 阅读全文