googlevr / gvr-ios-sdk

Google VR SDK for iOS
http://developers.google.com/vr/ios/
Other
647 stars 191 forks source link

GVRPanoramaView: Fullscreen button does not show if the Cardboard button is enabled in config #84

Closed vijaytholpadi closed 6 years ago

vijaytholpadi commented 8 years ago

Code for GVRPanoramaView initialization:

    self.panoramaView = [[GVRPanoramaView alloc] init];
    self.panoramaView = self;

with

    self.panoramaView.enableCardboardButton = YES;
    self.panoramaView.enableFullscreenButton = YES;

The above code shows only VR/Cardboard button


with only

    self.panoramaView.enableFullscreenButton = YES;

The above code shows FullScreen button


How do I get both FullScreen as well as VR/Cardboard button? This is happening in the sample app too.

nathanmartz commented 8 years ago

This is a bug in 0.8.5. It'll be fixed in our next release a couple weeks from now.

vijaytholpadi commented 8 years ago

Great! Looking forward to it. 👍

sanjayc77 commented 6 years ago

GVRView API (that includes GVRPanoramaView) is now deprecated. Please switch to GVRKit. It is also available as a Cocoapod. Take a look at the updated Panorama sample app.