Beware - proximity notifications are only sent in portrait!


#1

I couldn’t work out at all why I wasn’t getting any proximity notifications when everything seemed to be set up correctly. It turns out, that proximity sensor notifications are only sent when the device is in portrait and the previous section “Forcing Landscape Mode” had us change the app to only work in landscape.

It would be useful for this to be mentioned in the challenge because I couldn’t see it in any docs.


#2

Thanks. That was driving me crazy particularly since the last part of the text in this section was to force the app in to landscape mode. I’ve sent a comment to Apple re the UIDevice class docs to include this advice.