You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use this library for a feature of an app I'm currently working on - but I'm running into an issue. Whenever I actually load up Panorama and set it to my viewController's view, the screen goes completely blank (white).
I have the image in my images.xcassets folder in xcode, and the name matches. (not getting 'missing image' nslog thrown). The image size is 4096 x 2048.
Hmm, interesting. When I placed the image in images.xcassets folder, panorama could not find the image. It wasn't until I placed them on their own in the xcode folder structure was I then able to load up the image correctly. We should probably add that note in the readme!
Hey ya'll!
I'm trying to use this library for a feature of an app I'm currently working on - but I'm running into an issue. Whenever I actually load up Panorama and set it to my viewController's view, the screen goes completely blank (white).
I am calling this setup method in viewDidLoad:
(void)setup {
self.panoramaView = [[PanoramaView alloc] init];
[self.panoramaView setImage:@"360_background.png"];
[self.panoramaView setOrientToDevice:YES];
[self.panoramaView setTouchToPan:NO];
[self.panoramaView setPinchToZoom:YES];
[self.panoramaView setShowTouches:NO];
[self setView:self.panoramaView];
}
I have the image in my images.xcassets folder in xcode, and the name matches. (not getting 'missing image' nslog thrown). The image size is 4096 x 2048.
I also have this method in my implementation:
[self.panoramaView draw];
}
And I am indeed subclassing GLKViewController. Anyone run into similar issues? I'm using cocoapods, but I doubt that is an issue.
The text was updated successfully, but these errors were encountered: