Bug 20953 - F# iOS 8 scene kit scene appears momentarily then disappears
Summary: F# iOS 8 scene kit scene appears momentarily then disappears
Status: RESOLVED INVALID
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 7.9.0.x
Hardware: Macintosh Mac OS
: --- major
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-06-27 14:32 UTC by Mike Bluestein
Modified: 2014-06-27 17:27 UTC (History)
2 users (show)

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


Attachments
test case (239.59 KB, application/zip)
2014-06-27 14:32 UTC, Mike Bluestein
Details


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:
RESOLVED INVALID

Description Mike Bluestein 2014-06-27 14:32:20 UTC
Created attachment 7223 [details]
test case

When creating a scene kit scene in F# on iOS 8, the scene appears momentarily and then disappears. Also, if I remove the code that sets the view's background color, the scene never appears.

Here'a a video demonstrating the behavior: http://screencast.com/t/kgHxp3L9aJ3
Comment 1 Mike Bluestein 2014-06-27 17:27:22 UTC
window was getting collected.

patch from Larry O'Brien:

[<Register ("AppDelegate")>]
type AppDelegate () =
    inherit UIApplicationDelegate ()
 
    override val Window : UIWindow = null with get, set
 
    // This method is invoked when the application is ready to run.
    override this.FinishedLaunching (app, options) =
        this.Window <- new UIWindow (UIScreen.MainScreen.Bounds)
 
        // If you have defined a root view controller, set it here:
        this.Window.RootViewController <- new MyViewController ()
        this.Window.MakeKeyAndVisible ()
        true