0

我将JASidePanels用于堆栈控制器。

但是我在 centerViewController 上得到了一个巨大的阴影,如下图

我在 Storyboard 中有一个子类 JASidePanels(调用'StackController')UIViewController,并使用此代码在 StackController 中创建中心和左侧 Controller 和 setViewController

- (void)awakeFromNib
{
    [self setLeftPanel:[self.storyboard instantiateViewControllerWithIdentifier:@"leftViewController"]];
    [self setCenterPanel:[self.storyboard instantiateViewControllerWithIdentifier:@"centerViewController"]];
}

在此处输入图像描述

感谢提前。

4

1 回答 1

1

搜索方法 - (void)styleContainer:(UIView *)container animate:(BOOL)animate duration:(NSTimeInterval)duration 你可以注释方法体来移除阴影。

于 2013-09-02T14:50:09.737 回答