Graphics Programs Reference
In-Depth Information
Bronze Challenge: Proximity Notifications
Register for proximity notifications. Proximity refers to the nearness of the device to the
user. It is typically used to tell whether the iPhone is next to the user's face (as in talking on
the phone). When this notification is posted, change the background color of
HeavyViewController 's view to dark gray. You will need to turn on proximity mon-
itoring, which is only available on the iPhone:
[device setProximityMonitoringEnabled:YES];
Search WWH ::




Custom Search