像在iOS8 MailApp中一样向下滑动
我想实现的能力刷下模式VC几乎结束,并与刷上-返回的地方。我试着用缩放效果来做,但我有自定义的tabBar,我做不到。我试着让它更容易:像在iOS8 MailApp中一样向下滑动,ios,objective-c,modalviewcontroller,ios8,ecslidingviewcontroller-2,Ios,Objective C,Modalviewcontroller,Ios8,Ecslidingviewcontroller 2,我想实现的能力刷下模式VC几乎结束,并与刷上-返回的地方。我试着用缩放效果来做,但我有自定义的tabBar,我做不到。我试着让它更容易: CGRect frame = self.view.frame; //or self.parentViewController.view.frame frame.origin.x -= 50; frame.origin.y -= 50; self.view.frame = frame; VC改变了位置,但在它下面我看到了白色或黑色的屏
CGRect frame = self.view.frame; //or self.parentViewController.view.frame
frame.origin.x -= 50;
frame.origin.y -= 50;
self.view.frame = frame;
VC改变了位置,但在它下面我看到了白色或黑色的屏幕,没有我按下的VC。如何实现我想要的功能
我使用的是Xcode 5/iOS 7.1我认为这种新的演示风格可以满足您的需求 如果显示,它不会在模式后的上一个VC之后隐藏,但会保留在后面 vc.modalPresentationStyle=UIModalPresentationOverCurrentContext 希望这有帮助。 G