29 NİSAN 2011, Cuma
İOS olmadığını kontrol uygulaması arka planda
Eğer uygulamayı arka planda çalışır durumda olup olmadığını kontrol etmek istiyorum.
İçinde:
locationManagerDidUpdateLocation {
if(app is runing in background){
do this
}
}
CEVAP
5 ŞUBAT 2013, Salı
UIApplicationState state = [[UIApplication sharedApplication] applicationState];
if (state == UIApplicationStateBackground || state == UIApplicationStateInactive)
{
//Do checking here.
}
Bu sorunun çözümünde yardımcı olabilir.
Bunu Paylaş:
Bir Android uygulaması eğer kontrol ar...
Nasıl eğer bir arka plan görüntüsü yük...
Eğer bir dize Perl boş olup olmadığını...
Bir öğe olmadığını kontrol edin bir eb...
Nasıl dizin %YOL%olup olmadığını kontr...