Skip to content

Commit

Permalink
Changed Gesture View
Browse files Browse the repository at this point in the history
  • Loading branch information
dpopov committed Oct 26, 2015
1 parent e3058be commit 6fb1ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pose/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class ViewController : UIViewController {
character!.center = CGPointMake(CGRectGetMidX(self.view.bounds), CGRectGetMidY(self.view.bounds))
character?.userInteractionEnabled = true
character!.addGestureRecognizer(UIPanGestureRecognizer(target: self, action: Selector("handPan:")))
character!.addGestureRecognizer(UIPinchGestureRecognizer(target: self, action: Selector("handZoom:")))
self.view.addGestureRecognizer(UIPinchGestureRecognizer(target: self, action: Selector("handZoom:")))
self.view.insertSubview(character!, belowSubview:poseButton)
}

Expand Down

0 comments on commit 6fb1ee4

Please sign in to comment.