开发者

Is it possible to write i file to the computers file system from the iPhone device?

开发者 https://www.devze.com 2022-12-21 18:56 出处:网络
I need to save an camera image from my application to the desktop so i can preview it. i开发者_运维问答s it possible? The images that comes with the simulator seems to be too small. I don\'t believe s

I need to save an camera image from my application to the desktop so i can preview it. i开发者_运维问答s it possible? The images that comes with the simulator seems to be too small.


I don't believe so, the idea of the iPhone is that it's entirely sandboxed. Your application has its own little area to manipulate data in and do what you need to do.

From the sounds of it you are using the camera API to take a picture? Maybe you can save the generated image to your /Resources/ folder and look at it that way (just use Finder to browse through your Xcode projects directory)


You can't write files directly to an attached computer from an iPhone app. You can save images to the Camera Roll, and they can then be transferred from the iPhone to your computer using iPhoto.

0

精彩评论

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

关注公众号