Bug 4119 - QLPreviewController frameForPreviewItem missing method
Summary: QLPreviewController frameForPreviewItem missing method
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 5.0
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Sebastien Pouliot
Depends on:
Reported: 2012-03-28 04:42 UTC by Jonah
Modified: 2012-03-28 11:57 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Jonah 2012-03-28 04:42:42 UTC
I'm working with the QLPreviewController and in xcode you have the following method:
- (CGRect)previewController:(QLPreviewController *)controller frameForPreviewItem:(id<QLPreviewItem>)item inSourceView:(UIView *__autoreleasing *)view

I can't find this method in MonoTouch. Is this method missing? If it is missing is it possible to add it?

Jonah Hulselmans
Flow Pilots

Installation UUID: 78f51f43-1acc-4c9e-af1e-c04e6c342d4f
	Mono 2.10.9 (tarball Tue Mar 20 15:31:37 EDT 2012)
	GTK 2.24.10
	GTK# (
Mono for Android not installed
Apple Developer Tools:
	 Xcode 4.3.1 (1176)
	 Build 4E1019
Monotouch: 5.2.9 (Evaluation)
Build information:
	Release ID: 20808003
	Git revision: 36818e1e605f22c201263e0f428514d2b4c89a6b
	Build date: 2012-03-22 23:24:30+0000
	Xamarin addins: 88e59201d0f9261e8289f218a166e4a0882c60a9
Operating System:
	Mac OS X 10.7.3
	Darwin MacBook-Pro-van-Jonah-Hulselmans.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64
Comment 1 Sebastien Pouliot 2012-03-28 07:58:07 UTC
You're right. frameForPreviewItem is missing from the QLPreviewControllerDelegate type. I'll review the members (in case others are missing too) and add it (or them) to the next releases. Thanks!
Comment 2 Sebastien Pouliot 2012-03-28 09:13:51 UTC
iOS 4.2 added [1] both:

which are missing from MonoTouch. I'll be adding them

[1] http://developer.apple.com/library/ios/#DOCUMENTATION/NetworkingInternet/Reference/QLPreviewControllerDelegate_Protocol/Reference/Reference.html#//apple_ref/doc/uid/TP40009667
Comment 3 Sebastien Pouliot 2012-03-28 11:57:26 UTC
master: 2f7732083fea2fa562df756c45e385e805c88c56
5.2-series: ce3182e23a202f75784377af5e734be2ea395db0

QA: unit tests added in both master and 5.2-series branch.