Е
TableView
, и вроде бы все нормально. Но теперь самое интересное: как мне одновременно обновить 2 TableView
, которые находятся в одном UIViewController
??Size: a a a
AZ
F
AK
AK
SV
D
UIApplication.shared.applicationState {
case .background:
//app is in background, if content-available key of your notification is set to 1, poll to your backend to retrieve data and update your interface here
break
case .active:
//app is currently active, can update badges count here
break
case .inactive:
//app is transitioning from background to foreground (user taps notification), do what you need when user taps here
break
default:
break
}
AK
DY
UIApplication.shared.applicationState {
case .background:
//app is in background, if content-available key of your notification is set to 1, poll to your backend to retrieve data and update your interface here
break
case .active:
//app is currently active, can update badges count here
break
case .inactive:
//app is transitioning from background to foreground (user taps notification), do what you need when user taps here
break
default:
break
}
A
UIApplication.shared.applicationState {
case .background:
//app is in background, if content-available key of your notification is set to 1, poll to your backend to retrieve data and update your interface here
break
case .active:
//app is currently active, can update badges count here
break
case .inactive:
//app is transitioning from background to foreground (user taps notification), do what you need when user taps here
break
default:
break
}
SV
A
userNotificationCenter(
_ center: UNUserNotificationCenter, didReceive response:UNNotificationResponse, withCompletionHandler completionHandler:
@escaping@escaping () -> Void)
{
}