Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Enable Safari Web Inspector for iOS5 Simulator (hiediutley.com)
33 points by jdavid on Dec 6, 2011 | hide | past | favorite | 2 comments


And to only enable this in debug builds, you can do:

  #ifdef DEBUG
    [NSClassFromString(@"WebView") _enableRemoteInspector];
  #endif


Wow, this is incredibly useful. Great tip!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: