开发者

import Appkit framework in iphone Application

开发者 https://www.devze.com 2023-03-07 13:34 出处:网络
i am new in iphone technology , i want to use class NSspeechSynthesizerfrom Ap开发者_运维百科pkit framework, but when i import this framework in my application , it give 7 error in my application.

i am new in iphone technology , i want to use class NSspeechSynthesizer from Ap开发者_运维百科pkit framework, but when i import this framework in my application , it give 7 error in my application.

please provide me help on this problem.


You can't import AppKit, it is not available on the iPhone, it's an OS X library.


You could check out OpenEars, it supports for text-to-speech for iOS.

The text-to-speech library OpenEars uses is called CMU Flite, and you could install it directly, but the documentation on the CMU Flite site is a bit poor if you are not very experienced.

I would go for OpenEars, because they have a nice script doing most of the work for you.

0

精彩评论

暂无评论...
验证码 换一张
取 消