Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen when open the image. #6

Closed
GoogleCodeExporter opened this issue Jul 10, 2015 · 10 comments
Closed

Black screen when open the image. #6

GoogleCodeExporter opened this issue Jul 10, 2015 · 10 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Run a movie (MPMoviePlayerController), and add a 
"MPMoviePlayerPlaybackDidFinishNotification".
2. In this "MPMoviePlayerPlaybackDidFinishNotification", add a method to open 
the image, using the code that is on the example. 
3. This screen will start black, if you touch on the screen, will appear the 
image and the navigation will work pretty good.

What is the expected output? What do you see instead?
The problem is the black screen.

Thanks



Original issue reported on code.google.com by jrSin...@gmail.com on 12 Aug 2010 at 12:20

@GoogleCodeExporter
Copy link
Author

and when you add in your DidFinishNotification 
[view needsLayout];  ?

Original comment by sd8...@googlemail.com on 13 Aug 2010 at 9:25

@GoogleCodeExporter
Copy link
Author

This is the code:
[[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(movieFinishedCallback:) 
name:MPMoviePlayerPlaybackDidFinishNotification object:player];

Original comment by jrSin...@gmail.com on 13 Aug 2010 at 12:28

@GoogleCodeExporter
Copy link
Author

ah ok sry..

When you have called the Notificationevent try [view needsLayout]; It will 
repaint your view.
I had a similar situation, (not with Movieplayer) and it work´s for me

Original comment by sd8...@googlemail.com on 13 Aug 2010 at 2:26

@GoogleCodeExporter
Copy link
Author

I understand, your solution, but when I tried I received the error:
[UIView needsLayout]: unrecognized selector sent to instance 0x5310200

Original comment by jrSin...@gmail.com on 13 Aug 2010 at 6:06

@GoogleCodeExporter
Copy link
Author

I find, the correct way is: [view setNeedsLayout];

I have another problem, maybe you can help me, I need add some hotspot on the 
panorama image, do you have any idea, how can I do that?


Many thanks.

Original comment by jrSin...@gmail.com on 13 Aug 2010 at 6:32

@GoogleCodeExporter
Copy link
Author

oh yes, sry that was my fault..

At this moment I have no idea. :( 

Original comment by sd8...@googlemail.com on 13 Aug 2010 at 10:02

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Hi I'm also desperately in need of implementing hotspots on the panorama image! 

Original comment by isaac...@gmail.com on 27 Aug 2010 at 8:57

@GoogleCodeExporter
Copy link
Author

I also want to know how to implement hot spots,Is there any way to convert 
from view to image and image to view coordinates?

Original comment by pinggoo1...@gmail.com on 22 Dec 2011 at 3:40

@GoogleCodeExporter
Copy link
Author

Hotspots are supported in 0.1 version, please check last version of PanoramaGL 
library : )

Original comment by javbae...@gmail.com on 5 Jul 2012 at 4:00

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant