Hey guys, what can I use for ‘self’ in this code snippet? I get a
use of undeclared identifier 'self'
error.
[[NSNotificationCenter defaultCenter]
addObserver:self selector:NSSelectorFromString(@"orientationChanged:")
name:UIDeviceOrientationDidChangeNotification
object:[UIDevice currentDevice]];