Skip to content

Commit

Permalink
Removing unnecessary log message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Davies committed Nov 24, 2014
1 parent 25eacab commit 3c59c13
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions 38-handoff/MapOff/MapOff/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,11 @@ class ViewController: UIViewController, MKMapViewDelegate {
mapView.delegate = self
}


override func updateUserActivityState(activity: NSUserActivity) {
let regionData = NSData(bytes: &mapView.region, length: sizeof(MKCoordinateRegion))
activity.userInfo = ["region" : regionData]
println("Updating")
}


// MARK:- MKMapViewDelegate
func mapView(mapView: MKMapView!, regionDidChangeAnimated animated: Bool) {
userActivity?.needsSave = true
Expand Down

0 comments on commit 3c59c13

Please sign in to comment.