registerForRemoteNotificationTypes: is not supported in iOS 8.0 and late...

...r.

http://stackoverflow.com/a/24773465