title: Cannot find protocol declaration for 'MFMailComposeViewControllerDelegate'; did you mean 'UIPageViewControllerDelegate'?
body: <p>This code :</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  #import &lt;MapKit/MapKit.h&gt;
  #import &lt;MessageUI/MessageUI.h&gt;
  #import "MessageComposerViewController.h"
  #import &lt;MessageUI/MFMailComposeViewController.h&gt;
  
  @interface MapViewController : UIViewController &lt;MFMailComposeViewControllerDelegate&gt; // Add the delegate
  
  - (IBAction)showEmail:(id)sender;
  
  {
      IBOutlet MKMapView *mapView;
  }
  
  @property (nonatomic, retain) MKMapView *mapView;
  
  @end
  </code></pre>
  
  <p>This problem or error :</p>
  
  <ul>
  <li><p>Cannot find protocol declaration for 'MFMailComposeViewControllerDelegate'; did you mean 'UIPageViewControllerDelegate'?
  for this lign : #import "MessageComposerViewController.h"</p></li>
  <li><p>Expected identifier or '('
  for this lign : @interface MapViewController : UIViewController  // Add the delegate
  and this lign : {</p></li>
  </ul>
  
  <p>Thanks for advance. :)</p>