Use of undeclared Identifier 'image'
<pre><code>-(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{

    [self dismissViewControllerAnimated:YES completion:^
     {

         [self emailImage:image];
     }
     ];

    [picker release];
}
</code></pre>

<p>I am new to iOS and have just started developing apps. I know Swift language but I have to complete this in Objective C. I am not able to resolve this error.</p>

<p>The link to the images are as follows:</p>

<p><a href="https://i.stack.imgur.com/b2vhY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/b2vhY.png" alt="Image 1"></a></p>

<p><a href="https://i.stack.imgur.com/UHYKF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UHYKF.png" alt="Image 2"></a></p>