title: Create custom image gallery in iphone
body: <p>I have used below code to pick photo from gallery or directly using camera</p>
  
  <pre><code>- (void)actionSheet:(UIActionSheet *)actionSheet 
           clickedButtonAtIndex:(NSInteger)buttonIndex {
  
      UIImagePickerController *imagePickerController = 
        [[UIImagePickerController alloc]init];
  
      imagePickerController.delegate = self;
      if (buttonIndex == 0) {
          photoButtonNum=0;
          [self presentViewController:imagePickerController 
                             animated:YES 
                           completion:nil];
          imagePickerController.sourceType =  
            UIImagePickerControllerSourceTypePhotoLibrary;
      } else if (buttonIndex == 1) {
          photoButtonNum=1;
          [self presentViewController:imagePickerController 
                             animated:YES 
                           completion:nil];
          imagePickerController.sourceType =  
            UIImagePickerControllerSourceTypeCamera;
      }
  }
  </code></pre>
  
  <p>i am looking to create a custom directory(folder) of my own application to save the picked photos in iPhone. I need your help to</p>
  
  <ol>
  <li>create a custom directory of my own app</li>
  <li>want to save the picked photo in that custom directory.</li>
  </ol>
  
  <p>I am a new guy in <code>iPhone</code> development, so waiting for your valuable help.
  Thanks in advance.</p>