Tutorial :error: request for member 'multitaskingSupported' in something not a structure or union



Question:

I tried to run this code on iPhone Simulator 4.0 and get that error

//#ifdef __IPHONE_4_0      UIDevice *device = [UIDevice currentDevice];      if ([device respondsToSelector:@selector(isMultitaskingSupported)] && device.multitaskingSupported)      {          }  //





        
Previous
Next Post »