简体   繁体   English

从Iphone照片库上传照片

[英]Upload photos from Iphone photo gallery

I'm just going to learn Objective-C, because I want to build an app that uploads all my media in the gallery on Iphone, to an FTP-server every midnight. 我将要学习Objective-C,因为我想构建一个应用程序,该应用程序在每个午夜将Iphone画廊中的所有媒体上传到FTP服务器。

However, because the photo library may contain personal images, I read that the only way to access it is via user interaction. 但是,由于照片库可能包含个人图像,因此我读到访问它的唯一方法是通过用户交互。 Is this really true? 这是真的吗? Can't just build a app that automatic every midnight takes all the media in my gallery and just simply upload it? 不能仅仅建立一个在每个午夜自动运行的应用程序,它会占用我画廊中的所有媒体并只是简单地上传它吗?

This is TRUE the user is required to give there consent before uploading, this is because there maybe images that they don't want uploading. 这是正确的,要求用户在上传之前同意该同意,因为这可能是因为他们不想上传图像。 So yes you can build an app that does what you want but this kind of app will never make it into the app store. 因此,是的,您可以构建一个可以满足您需求的应用程序,但是这种应用程序永远也不会进入应用程序商店。 As I don't work for Apple I am only taking a guess at some of the things they would reject you for, here is a small list : 由于我不在苹果公司工作,我只是在猜测他们会拒绝您采取的某些措施,以下是一小部分:

17.1 - Apps cannot transmit data about a user without obtaining the user's prior permission and providing the user with access to information about how and where the data will be used 17.1-应用程序无法传输有关用户的数据,除非获得用户的事先许可并向用户提供有关如何以及在何处使用数据的信息的访问权限

22.4 - Apps that enable illegal file sharing will be rejected 22.4-启用非法文件共享的应用将被拒绝

I'd probably say with a good legal spin they could reject you for 我可能会说,通过良好的法律旋转,他们可以拒绝您

17.4 -Apps that collect, transmit, or have the capability to share personal information (eg name, address, email, location, photos, videos, drawings, the ability to chat, other personal data, or persistent identifiers used in combination with any of the above) from a minor must comply with applicable children's privacy statutes, and must include a privacy policy 17.4 -Apps收集,传输,或者必须共享个人信息的能力(如姓名,地址,电子邮件,位置,图片,视频,图画,能力聊天,组合使用,任何其他个人数据,或永久标识符未成年人)必须遵守适用的儿童隐私法规,并且必须包含隐私政策

(Please note like I say I don't work for Apple so I can only speculate what they would reject it for but it can't be done) (请注意,就像我说我不在苹果公司工作一样,因此我只能推测他们会拒绝这样做,但无法完成)

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM