简体   繁体   English

允许用户在iPhone上加载其历史记录的最佳方法是什么?

[英]What's the best way to allow users to load their history on iPhone?

The title might be a little confusing but basically I am trying to design an iPhone app that will let users add records by hand to know what they did each workout. 标题可能有点令人困惑,但是基本上我正在尝试设计一个iPhone应用程序,该应用程序可以让用户手动添加记录以了解他们每次锻炼的内容。 Due to the nature of this, people might want to add their previous records but it would take a lot of time for them to do this by hand, ie hundreds of records. 由于这种性质,人们可能想添加他们以前的记录,但是手工完成需要花费很多时间,即数百条记录。

How can I allow them to create some sort of text that will store their history in a concise manner that I can then parse in the app? 如何允许他们创建某种文本,以一种简明的方式存储其历史记录,然后可以在应用程序中对其进行解析? I mean I have never seen an app that allows picking files on iPhone. 我的意思是,我从未见过允许在iPhone上选择文件的应用程序。 So not sure what the best practice on this device is. 因此,不确定此设备的最佳做法是什么。

I was also thinking of having the ability to type an url that will contain textual content like the ones provided by online text clipboard websites. 我还考虑过能够键入一个包含文本内容的url的功能,例如在线文本剪贴板网站提供的内容。 I feel that would still take considerable amount of time as you will have to do this for each exercise. 我认为仍然需要花费大量时间,因为您必须为每个练习进行此操作。

I will most certainly have the ability to email a concise ascii file that will contain the entire history saved in the app in case they want to use it for whatever purpose. 我绝对可以通过电子邮件发送简洁的ascii文件,其中包含保存在应用程序中的全部历史记录,以防他们出于任何目的使用它。

The uncertain thing is how I could receive the same/similar file to use for loading the entire history. 不确定的事情是我如何接收相同/相似的文件来加载整个历史记录。

Any ideas? 有任何想法吗?

You can tell iOS that your app handles files of some type - say .xzd. 您可以告诉iOS,您的应用程序可以处理某种类型的文件-例如.xzd。 When such a file is attached to an email, and the user taps on the attachment, the use is given a choice of all apps that say they process that kind of file. 当此类文件附加到电子邮件中,并且用户点击附件时,可以选择使用所有处理此类文件的应用程序。

You can use cvs files and have the user save the file with your custom extension. 您可以使用cvs文件,并让用户使用自定义扩展名保存文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 制作表格行的多个版本((或历史记录))的最佳方法是什么 - What is the best way to make many versions ((Or history)) of Table's rows 什么是异步加载小部件的最佳方法? - What's The Best Way To Load Widgets Asynchronously? 允许用户在C#中浏览文件的最佳方法是什么? - What's the best way to allow a user to browse for a file in C#? 创建复制/负载平衡模块的最佳方法是什么? - What's the best way to create a replication/load balancing module? 将数据异步加载到数据网格视图的最佳方法是什么? - What's the best way to asynchronously load data into a Data Grid View? 构造代码以允许多个开发人员更新构造函数的最佳方法是什么? - What's the best way to structure code to allow a constructor to be updated by multiple developers 限制某些用户的服务的最佳方法是什么 - what is the best way to restrict services for certain users UWP程序创建可供其他用户访问的网络共享文件夹的最佳方法是什么? - What's the best way for a UWP program to create a network share folder that can be accessed by other users? 什么是多线程的最佳方式? - What's the best way to multithread? 加载/选择“控制器”类的最佳方法是什么 - What is the best way to load/choose “controller” classes
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM