Closed BillHu closed 11 years ago
Hi
It seems that you are doing something really weird with initialisation. Can you please paste some code so that I can see what is going on? If you have a little project showing the issue it would also be great. Thanks
Hi
I took my sample (not easy sample, the biggest one), disabled portrait on supported interface orientations from the plist and it's working fine on my iOS 6 device. I really thing that's related to your initialisation. Besides, please check the removeShadow
and handleShadows
methods, because I call them on rotation and there could be some side effects with your configuration
Hi, ipodishima, Thanks for replying and sorry for my late response. I put a simple demo on herer: https://github.com/BillHu/revealdemo And I think the problem is in "- (void) addShadow" method in PPRevealSideViewController setting shadow path when the device in landscape mode. Really appreciate your help
Hi
Sorry for the delay
I fixed the issue in your repo (see the PR) It was just about having the last version of PPReveal.
Please add PPReveal with submodules or cocoapods
When I use PPRevealSideViewController on ios5.1 device or simulator, shadow works fine. But when I test it on ios6 device, shadow not showing, what should I do?
Edit: My app only works in landscape mode. after rotate my device from one landscape mode to another landscapemode, the shadow was showed up. But how could I make the shadow show up without rotation.
Edit: I added the following code after init the PPRevealSideViewController CGRect frame = self.revealSideViewController.view.frame; CGFloat width = frame.size.width; frame.size.width = frame.size.height; frame.size.height = width; [self.revealSideViewController.view setFrame:frame]; don't know if there any better way to solve that problem.