title: Add Zooming to UIScrollView
body: <p>I've been doing the tutorials in the Big Nerd Ranch Iphone development book and ran into an issue I can't solve or find an answer for.</p>
  
  <p>The App (Hypnosister) basically just draws a bunch of concentric circles and places some text on the screen using the DrawRect method. I got that to work and I was able to add scrolling ot the view but can't add the ability zoom. I've checked my code 100 times and can't figure it out. I think they used an earlier version of the OS and I am using 4.2. Did something change? Can you find the issue?</p>
  
  <p>Here is the relevant code:</p>
  
  <pre><code>@interface HypnosisterAppDelegate : NSObject &lt;UIApplicationDelegate,
  UIScrollViewDelegate&gt; 
  {
      UIWindow *window;
      HypnosisView *view;
  }
  </code></pre>
  
  <p>and this goes in the application didFinishLaunchingWithOptions part:</p>
  
  <pre><code>[[UIApplication sharedApplication] 
  setStatusBarHidden:YES withAnimation:UIStatusBarAnimationFade];
  </code></pre>
  
  <p>and method gets called after that method closes:</p>
  
  <pre><code>- (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView
  {
      return view;
  }
  </code></pre>
  
  <p>HypnosisView is a UIView class that does the drawing. Thanks for the help.</p>