Tag: ipad

在没有互联网的情况下iPhone的大词汇量语音识别

我用了需要字典的Openears。 当我们在字典中提到这个词时,它是有用的。 我想转换我们说的所有的话。 所以我用Nuance的演讲来认可dragaon SDK。 但它与networking服务器通信。 由于安全问题,我想避免服务器通信。 是否有可能将语音转换为文字,而不是在离线模式下与服务器进行通信?

使自定义视图在旋转设备时粘到键盘的顶部

我的应用程序只有iPad,根视图embedded在具有两个子视图的导航控制器中: 1) UITextView (不是UITextField ),覆盖除导航栏外的整个区域。 2)另一个UIView作为工具栏。 它覆盖了UITextView,并且最初停留在根视图的底部。 现在我可以使“工具栏”与虚拟键盘同步上下。 但是有一个问题:如果我在键盘显示的时候旋转了设备,那么“工具栏”不再粘在虚拟键盘的顶部,而是在旋转和落下的时候停留在屏幕的中间以便与键盘相遇旋转后 ,这是相当丑陋的。 目前我通过dynamic添加和删除约束来使工具栏视图上下移动,我不确定这是否是一个问题,因为我只使用模拟器进行testing。 任何人都可以给我一些build议吗? 在底部应用程序中带有工具栏的这种UITextView的例子可以是Document Pro或Pages 。

iOS上的ITK库 – 加载DICOM

我已经build立了iPad的ITK库 – 它的工作原理。 然后我试着做一个ITK的例子 – 类似的东西: // Load DICOM files typedef itk::ImageSeriesReader< InputImageType > ReaderType; ReaderType::Pointer reader = ReaderType::New(); typedef itk::GDCMImageIO ImageIOType; typedef itk::GDCMSeriesFileNames NamesGeneratorType; ImageIOType::Pointer gdcmIO = ImageIOType::New(); NamesGeneratorType::Pointer namesGenerator = NamesGeneratorType::New(); namesGenerator->SetInputDirectory( "C:/test" ); 但是我尝试了很多方法来将DICOM堆栈加载到ipad文档文件夹的目录中,而不是c:/testpath。 但是这没有用。 所以我的想法是通过互联网加载一个DICOM : NSData *dicomImage = [NSData dataWithContentsOfURL:[NSURL URLWithString:@"http://www.someurl.ch/dicom/blabla.dcm"]]; 现在我考虑试着脱离dicom数据(患者姓名等)并将其与图像数据分开。 然后我认为最后可以在IPAD上显示UIImage。 我寻找了一个例子,但可悲的是…我没有find好的东西。 如果有人知道如何通过ITK加载ipad上的dcm或想法如何从NSData对象中获取图像数据?

如何阅读使用Windows的iPad崩溃报告

我是使用Marmalade和Visual Studio开发ios的新手,所以我需要知道如何从iPad读取崩溃报告? 崩溃报告位于/var/mobile/Library/Logs/CrashReporter/game.plist如何从Windows读取此文件?

如何编写一个软件来同步文件到iPad

我有这样的想法,写一个应用程序自动同步文件到一个ipad的特定位置,每当ipad插入电脑。 问题是我从来没有开发过这样的软件。 现在我有这两个大问题: – 如何检测一个ipad插入电脑? – 如何通过ipad连接并复制文件? 为了说清楚,我想开发的应用程序应该具有类似iTools (而不是iTunes )的function。 这里有没有人有开发这种应用程序的经验? 请你与我分享如何开始这个项目,因为我很无能:(

如何以编程方式查找我的iPhone应用程序的大小?

我正在寻找iphone应用程序的大小以及框架,但我没有find一个方法如何做到这一点。任何人都可以提供这样的代码吗?我得到的代码,find我的应用程序在运行当前的内存使用情况。 链接在这里

在Objective-C中从UIViewController显示一个SplitViewController

我正在开发一个ViewController(login应用程序)与一个button,当我按下这个button,我想出现我的UISplitView像这样: – (IBAction)loadSplitViewController:(id)sender { [self showSplitViewController]; } 并为我的splitViewController的创build开发的代码是这样的: -(void)showSplitViewController{ UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"MainStoryboard_iPad" bundle: nil]; LeftViewController *leftViewController = [mainStoryboard instantiateViewControllerWithIdentifier:@"LeftViewController"]; RightViewController *rightViewController = [mainStoryboard instantiateViewControllerWithIdentifier:@"RightViewController"]; UINavigationController *leftNavController = [[UINavigationController alloc] initWithRootViewController:leftViewController]; UINavigationController *rightNavController = [[UINavigationController alloc] initWithRootViewController:rightViewController]; UISplitViewController *splitViewController = [[UISplitViewController alloc] init]; splitViewController.viewControllers = [NSArray arrayWithObjects:leftNavController, rightNavController, nil]; leftViewController.delegate = rightViewController; splitViewController.delegate = […]

CData不被NSXmlparserparsing

我收到来自服务的xmlforms的响应,我使用nsxmlparser进行parsing。 在一个实例中,我收到了一个xml,其中两个标签中的内容是相同的(重复项如下面的xml) 收到的Xml: <UserGeneratedContentItem> <link rel="details" uri="http://api.test.no/test.Ugc/vivo/usergeneratedcontentitem/16046" /> <Data><![CDATA[<Type>Note</Type><Description>**6000 characters**</Description><Page>6</Page><ChapterNumber>1</ChapterNumber><ChapterTitle>Etikk og filosofi</ChapterTitle><Uri>http://api.test.no/test.Ugc/vivo/usergeneratedcontentitem/6</Uri><Data><StickyNotes><StickyNote name="icon_2" X="215.8" Y="352.7" note="**6000 characters**" dateTime="null" popupX="940" popupY="119" popupWidth="300" popupHeight="180" formatedDate ="2012-12-28-18-20-47" iconImage="1003"/></StickyNotes></Data>]]></Data> </UserGeneratedContentItem> <UserGeneratedContentItem> <link rel="details" uri="http://api.test.no/test.Ugc/vivo/usergeneratedcontentitem/16046" /> <Data><![CDATA[<Type>Note</Type><Description>**6000 characters**</Description><Page>6</Page><ChapterNumber>1</ChapterNumber><ChapterTitle>Etikk og filosofi</ChapterTitle><Uri>http://api.test.no/test.Ugc/vivo/usergeneratedcontentitem/6</Uri><Data><StickyNotes><StickyNote name="icon_2" X="215.8" Y="352.7" note="**6000 characters**" dateTime="null" popupX="940" popupY="119" popupWidth="300" popupHeight="180" formatedDate ="2012-12-28-18-20-47" iconImage="1003"/></StickyNotes></Data>]]></Data> </UserGeneratedContentItem> 6000个字符包括将被编码的字母,算术和一般标点符号。 概率: 在 – (void)分析器中:(NSXMLParser *)parsing器foundCDATA:(NSData […]

animation不适用于iPad。 同样的作品在iPhone上

我有一个非常简单的项目,试图使用基于块的iOS4.0animation制作UIViewanimation。 头 @interface animatepadViewController : UIViewController { UIView *contentView; } @property(nonatomic, retain) IBOutlet UIView *contentView; @end 履行 // Implement viewDidLoad to do additional setup after loading the view, typically from a nib. – (void)viewDidLoad { [super viewDidLoad]; [UIView animateWithDuration:1.0 animations:^{self.contentView.alpha = 0.0;}]; } 我在界面生成器中添加了UIVIewtypes的子视图,背景颜色为黑色。 这些是我从默认的基于ipad“view”的项目中唯一的改变。 我得到以下错误 2010-12-28 17:59:05.689 animatepad[29835:207] *** +[UIView animateWithDuration:animations:]: unrecognized selector sent […]

模态视图控制器不能正确旋转

在ipad上,在ios目标C中,我在一个模态视图中遇到了旋转移动的问题。 我在shouldAutoRotate方法中给出元素的位置,并且它的父视图也可以旋转,但是当我旋转模态视图时,元素不会放在正确的位置。 欲了解更多信息,如果我以纵向模式打开视图,我得到这些数据: <UIView: 0x72bc160; frame = (0 0; 768 1004); clipsToBounds = YES; autoresize = W+H; layer = <CALayer: 0x13f324f0> 在横向模式下: <UIView: 0x1358f3b0; frame = (0 0; 768 748); clipsToBounds = YES; autoresize = W+H; layer = <CALayer: 0x1358f3e0>> 但如果我旋转视图的水平框架改变垂直框架… 难道我做错了什么?