 <p>You must add <code>MessageUI.framework</code> to your Xcode project and include a </p> <p><code>#import &lt;MessageUI/MessageUI.h&gt;</code> in your header file.</p> <p>try this code may be its helpful to you..</p> <pre><code>[self presentModalViewController:picker animated:YES]; //[self becomeFirstResponder];//try picker also instead of self </code></pre> <p>Also Refer this bellow tutorial and also check demo..</p> <ol> <li><p><a href="http://coenraets.org/blog/2012/11/new-tutorial-developing-and-architecting-a-phonegap-application/" rel="nofollow">new-tutorial-developing-and-architecting-a-phonegap-application</a></p></li> <li><p><a href="https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/SMSComposer" rel="nofollow">SMSComposer</a></p></li> </ol> <p>i hope this help you...</p>