ios - Code builds for device, not for simulator... Expected identifier or "("? -


This part of my code has been placed in the encode 6 under my import statement:

  #if __IPHONE_OS_VERSION_MAX_ALLOWED & gt; = 80000 (if answers to [self.locationManager] Controller: @selector (requestWhenInUseAuthorization)]) {[self.locationManager requestWhenInUseAuthorization]; } #else #endif  

When I select a physical device to run, the projects are fine. When I select the simulator to run, I hope Received identifier error:

Expected identifier or "("

on this line:

  if (answers [self.locationManager Tselector: @sillector (Request when InoAuthorization)] { 

I have the exact number of brackets because it is physically If I have an explanation on this website for this incident, then I am not able to find it.

Thanks.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -