REFrostedViewController
REFrostedViewController copied to clipboard
REFrostedViewController in detailviewcontroller ONLY of UISplitViewController
Hello, I am trying to implement the REfrostedviewcontroller (FVC) in only the detail side of the UISplitViewController (SVC). I have tried many things but not able to get it to work.
For a first attempt, I set the detail view of SVC to be the DEMOrootviewcontroller. I got the FVC to be working either from the left side or right side or both sides. However, the "original" detail view (which is a tableVC) was not getting updated. I sent data to this tableVC via a delegate and still the tableVC was not behaving as it used to.
Then, I kept the original configuration i.e. the detail view was the original tableVC. However, in this case, the FVC does not work - the menu does not show up. I noticed that the self.frostedviewcontroller is nil, since the parentVC is the SVC and not the FVC.
There were other trys - were not successful. Is there any way to accomplish the above? Thank you.
I also try to use in master of UISplitViewController. It's working on Landscape mode. But,
[self.frostedViewController presentMenuViewController];
This method not working on portrate, and, if use swipe to show, menu view is not appeared.
How to fix this?