微信试图引用不存在的令牌被其他新设备登入 登录设备:VIRV W6-UF8I这是什么东西?

( 京ICP备号 | 京公网安备 87号 )
Powered by Discuz! X3.2
Comsenz Inc.您所在的位置: &
iOS第三方语音-微信语音
时间: 编辑:幻想无极 来源:Cnblogs
网址链接:http://pr./
里面包含了微信语音和图像,集成很简单,下载方demo后会有个文档,按照流程来
先用个有UI界面的sdk
1.装上sdk,引入相关包
2.设置 Build Settings
C++ Standard Library: libstdc++ 或 Compiler Default
Compile Sources As: Objective-C++ 或 将使用 SDK 的文件扩展名改为.mm
随便把一个文件后缀改成.mm不然会报错
3.添加代码
#import "CustomNewViewControl.h"
#import "WXSpeechRecognizerWithUI.h"
@interface CustomNewViewControl ()&WXVoiceWithUIDelegate& {
WXSpeechRecognizerWithUI *_
__weak IBOutlet UILabel *
@property (weak, nonatomic) IBOutlet UIButton *
@implementation CustomNewViewControl
- (void)viewDidLoad {
[super viewDidLoad];
_wxssui = [[WXSpeechRecognizerWithUI alloc] initWithDelegate:self andUserKey:@"248b63f1cecabcb338e82a482ecd802cbca12"];
//点击事件
- (IBAction)buttonPressed:(UIButton *)sender {
label.text = @"";
[_wxssui showAndStart];
//代理 WXVoiceWithUIDelegate
- (void)voiceInputResultArray:(NSArray *)array{
WXVoiceResult *result=[array objectAtIndex:0];
[label setText:result.text];
热门关键字

我要回帖

更多关于 百度试图 的文章

 

随机推荐