Bug 13066 - Error in sample MediaNotes
Summary: Error in sample MediaNotes
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Samples ()
Version: 6.9.3.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: GouriKumari
URL:
Depends on:
Blocks:
 
Reported: 2013-07-05 05:41 UTC by Paul Blenkhorn
Modified: 2014-03-26 10:39 UTC (History)
2 users (show)

Tags:
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:
Status:
VERIFIED FIXED

Description Paul Blenkhorn 2013-07-05 05:41:24 UTC
In the sample MediaNotes (photoviewcontroller.cs) TranslatesAutoresizingMaskIntoConstraints is typed TranslatesAutoresizingMaskIntoConstraints (i.e. t and s swapped).  This stops the sample from compiling when USE_AUTOLAYOUT is defined.

Changing the spelling enables the sample to run.  However, it still doesn't see any photos on my iPad!

Cheers

Paul
Comment 1 GouriKumari 2013-07-05 09:06:08 UTC
Paul,

Are you using the latest MediaNotes sample from monotouch-samples. The error you reported is already fixed in the latest  sample. 

Also, to use this sample a prerequisite is to create an album named "WWDC2012" and add pictures to it from  iPad. This is mentioned in the "Read Me" section of the sample. Please Verify.


Best,

Gouri
Comment 2 GouriKumari 2013-07-10 19:21:38 UTC
Based on comment1, marking this bug as resolved fixed. Reopen, the bug if the issue still exists.
Comment 3 Akhilesh kumar 2014-03-26 10:39:30 UTC
Today we have checked this issue and we are able to build and deploy Media notes sample on device.

Hence closing this issue.

App info : monotouch-samples-mastere7df2539444ee8ff731a614d227cdd8588e154c3

Environment info :
=== Xamarin Studio ===

Version 4.2.4 (build 266)
Installation UUID: 449f40dd-b3f1-4028-9a6b-cca0d1a2307d
Runtime:
 Mono 3.2.6 ((no/9b58377)
 GTK+ 2.24.23 (Raleigh theme)

 Package version: 302060000

=== Apple Developer Tools ===

Xcode 5.1 (5084)
Build 5B130a

=== Xamarin.iOS ===

Version: 7.2.2.14 (Enterprise Edition)
Hash: 16bef0b
Branch: 
Build date: 2014-03-20 12:01:19-0400

=== Xamarin.Android ===

Version: 4.12.3 (Enterprise Edition)
Android SDK: /Users/360logicaxamarinmacmini/Desktop/android-sdk-macosx
 Supported Android versions:
  1.6   (API level 4)
  2.1   (API level 7)
  2.2   (API level 8)
  2.3   (API level 10)
  3.1   (API level 12)
  3.2   (API level 13)
  4.0   (API level 14)
  4.0.3 (API level 15)
  4.1   (API level 16)
  4.2   (API level 17)
  4.3   (API level 18)
  4.4   (API level 19)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

=== Xamarin.Mac ===

Xamarin.Mac: 1.8.0.7

=== Build Information ===

Release ID: 402040266
Git revision: 57fa6b7639703775ae1d5c46536e42ab424cb177
Build date: 2014-03-20 12:34:27-04
Xamarin addins: eee141c29724a19529e77b8e743086d95b29f5ba

=== Operating System ===

Mac OS X 10.8.4
Darwin 360Logicas-Mac-mini.local 12.4.0 Darwin Kernel Version 12.4.0
    Sun Mar 10 18:01:10 PDT 2013
    root:xnu-2050.24.6~1/RELEASE_X86_64 x86_64