Wednesday, December 26, 2012

How to check Multitasking capablity in iOS ?

- (BOOL) isMultitaskingCapable
{
 UIDevice* device = [UIDevice currentDevice];
 BOOL backgroundSupported = NO;
 if ([device respondsToSelector:@selector(isMultitaskingSupported)])
  backgroundSupported = device.multitaskingSupported;
 
 return backgroundSupported;
}

No comments:

Create a list in SwiftUI with sticky section headers

 Sample Code import SwiftUI struct ContentView : View {     @State var isCustomViewControllerDisplayed = false     @State private va...