Voice sharing app iOS source project

Source: Internet
Author: User

The source code is the Voice sharing application source code, this demo uses the Iflytek speech recognition as the input way to share the content, also supports the manual keyboard input sharing content, limits the share content text cannot exceed 180 characters, the share content input completes can directly share, the Sharing SDK uses the Friend Alliance social sharing.

-  (ibaction) Voicerecognize: (ID) sender {    [self.textview  resignfirstresponder];         _result = @ "";          [_iflyrecognizerview start];} -  (void) Onresult: (nsarray *) Resultarray islast: (BOOL) islast{     Nsdictionary *dic = [resultarray objectatindex:0];    nsmutablestring  *result = [nsmutablestring new];    nslog (@ "DIC:%@", DIC);     for  (nsstring *key in dic)  {         [result appendformat:@ "%@", Key];    }    nslog (@ "result:%@" , result);         _result = [nsstring  stringwithformat:@ "%@%@", _RESULT,RESULT];       &NBsp; if  (islast)  {        if  (_result ==  nil| | [_result isequaltostring:@ ""])  {            uialertview *alert =  [[uialertview alloc]initwithtitle:@ "not recognized, please say again"  message:nil delegate:nil  cancelbuttontitle:@ "OK"  otherButtonTitles:nil];             [alert show];        }else{             self.textView.text = _result;         }    }}

  

  • <ignore_js_op>650) this.width=650; "id=" aimg_2496 "class=" Zoom "src=" Http://img.662p.com/ios/forum/201410/27 /104304r781mam5ihrwn380.png "width=" "style=" border:0px;/>

    Run

  • <ignore_js_op>650) this.width=650; "id=" aimg_2497 "class=" Zoom "src=" Http://img.662p.com/ios/forum/201410/27 /104304yzjs6hphsuvn550g.png "width=" "style=" border:0px;/>

    Run

  • <ignore_js_op>650) this.width=650; "id=" aimg_2498 "class=" Zoom "src=" Http://img.662p.com/ios/forum/201410/27 /104305txk5v7jcow75wdf5.png "width=" "style=" border:0px;/>

    Run

  • <ignore_js_op>650) this.width=650; "id=" aimg_2499 "class=" Zoom "src=" Http://img.662p.com/ios/forum/201410/27 /104305kni3qbhjgepauhcr.png "width=" "style=" border:0px;/>

    SOURCE Download: http://code.662p.com/view/9125.html

    Detailed Description: http://ios.662p.com/thread-2164-1-1.html

    Run


Voice sharing app iOS source project

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.