title: can't show picking image from photo library
body: <p>Im using image picker for choose photos from photo library. When i click the button it displays photo library. But when i click particular image it dismiss modalView and image won't load to view.</p>
  
  <p>code:</p>
  
  <pre><code>-(void)showcamera:(id)sender{
  
      UIImagePickerController *imagePickerController = [[UIImagePickerController alloc]init];
      imagePickerController = [[UIImagePickerController alloc] init];
      imagePickerController.delegate = self;
      imagePickerController.sourceType =  UIImagePickerControllerSourceTypePhotoLibrary;
  
      [self presentModalViewController:imagePickerController animated:YES];
  
  }
  
  
  - (void)imagePickerController:(UIImagePickerController *)picker
          didFinishPickingImage:(UIImage *)image
                    editingInfo:(NSDictionary *)editingInfo
  {
  
      // Dismiss the image selection, hide the picker and
  
      //show the image view with the picked image
  
      [picker dismissModalViewControllerAnimated:YES];
      UIImage *newImage = image;
  
  
  }
  </code></pre>