• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
IKCameraDeviceView ignores 'memory' mode.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IKCameraDeviceView ignores 'memory' mode.


  • Subject: IKCameraDeviceView ignores 'memory' mode.
  • From: Eric Slosser <email@hidden>
  • Date: Tue, 23 Apr 2013 16:29:14 -0400

I'd like my IKCameraDeviceView to report downloaded images in memory-mode, but despite the fact that I have told it to use IKCameraDeviceViewTransferModeMemoryBased and it agrees that it heard me:

(gdb)p (int) [cameraDeviceView mode]
$1 = 1

... it still passes the image as a URL to its delegate's cameraDeviceView:didDownloadFile:location:fileData:error: method, after downloading it to ~/Pictures.  That's bad, because the user may have that folder open, and I don't want her to see a tmp file flash in and out of existence.

Because I'm asking for memory mode, I deliberately don't display the file UI (aka 'Displays download location' in Interface Builder).

I tried to workaround it by doing the following, but it ignores that too.
	cameraView.downloadsDirectory = [NSURL fileURLWithPath:NSTemporaryDirectory()];

Anyone have pearl she'd like to cast?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Temporarily disabling autosave
  • Next by Date: Core data commit changes made programmatically
  • Previous by thread: Re: NSPredicate and NSString with whitespace gives runtime error
  • Next by thread: IKCameraDeviceView ignores 'memory' mode.
  • Index(es):
    • Date
    • Thread