English 中文(简体)
如何从我的 iPhone 设备接收数据( 文件. txt)?
原标题:How can I receive data (file.txt) from my iPhone device?

在我的应用程序中,我正在创建一个含有某些数据的文件.txt。 文件的路径是

NSArray *paths =NSSSSearchPath Forimates inDomains (NSDocument Deminary,NSUserDomamask,Yes)NSString *path = [[路径对象AtIndex:0] TreByByAputPathComponent:@"file.txt" ; 我如何程序复制或将文件发送到我的计算机? 在我完成程序后, 我如何复制该文件?

最佳回答

在您的信息. plist 集“ 应用程序支持 iTunes 文件共享” 到“ 是 ” 。

然后您通过 iTunes 将文件保存在文档文件夹中。 单击您的设备 - & gt; apps - & gt; 您的应用程序

问题回答

如果您在电话和 PC 上安装了拖放箱, 您可以使用 < a href=" https://www. drotbox.com/ developers" rel="nofollow" >Dropbox API 将文件从您的 App 写入到您的 PC 上可访问的驱动器 。



上一篇:
下一篇:


相关问题
Duplicate a table row with UITableViewCellEditingStyleInsert?

I have an application based on the Core Data Books example, and I m coming to the conclusion that I need to give the user the ability to duplicate a row in the table - a set of data - and then let ...

Copy/Paste in Windows Forms with custom controls

I am writing a small application in C# using Windows Forms. I want to let my users copy and paste data around the application and there are some custom controls, for example one is a colour picker. ...

Copying only non-existent files in ant

I m deploying my project to a web-server to be deployed with java Web Start. However, Web Start uses modification date to figure out whether to download the resources again (by default). What I want ...

Copying one FlowDocument to Second FlowDocument

How can i copy the contents of one FlowDocument to another FlowDocument below is what i tryed foreach (var blk in fd1.Blocks) { fd2.Blocks.Add(blk); } fd1 is FlowDocument1 and fd2 is ...

emacs command to append to ring

How can I make an emacs command to copy text (to the kill ring) by appending? (Why is there no such built-in command?) Appending Kills mentions C-M-w (`append-next-kill ) which allows me to append ...

about get value from sqlite

Code Sample: NSString *str= [NSString stringWithUTF8String:(char *)sqlite3_column_text(selectStatement, 1)]; Test *t=[[Test alloc] init]; t.str=[str copy]; // why use "copy" here? [str release];

Insert into an STL queue using std::copy

I d like to use std::copy to insert elements into a queue like this: vector<int> v; v.push_back( 1 ); v.push_back( 2 ); queue<int> q; copy( v.begin(), v.end(), insert_iterator< queue&...

热门标签