【发布时间】:2016-06-28 05:23:36
【问题描述】:
我正在为 Kony 应用程序编写 iOS FFI 方法。在那,我展示了一个具有清晰背景色的视图控制器。但是,它显示了一个白色背景视图。我没有使用故事板,我只是在代码中设计视图。在newviewcontroller viewdidload中,我将self.view背景色设置为clearcolor。
这是我尝试过的,
NewViewController *newVC = [[NewViewController alloc]init];
newVC.providesPresentationContextTransitionStyle = YES;
newVC.definesPresentationContext = YES;
self.modalPresentationStyle = UIModalPresentationCurrentContext;
[KonyUIContext onCurrentFormControllerPresentModalViewController:newVC animated:YES];
我是 KonyUIContext 的新手,我该如何解决这个问题?
谁能帮我解决这个问题?
【问题讨论】:
-
你在使用故事板吗?
-
@BhavinRamani,不,我只在代码中设计视图。在 newviewcontroller viewdidload 中,我将 self.view 背景颜色设置为 clearcolor
-
好的。然后请用上述评论编辑您的问题。
-
@BhavinRamani,已编辑...
-
尝试 newVC.modalPresentationStyle = UIModalPresentationOverCurrentContext;
标签: ios objective-c uiviewcontroller presentmodalviewcontroller temenos-quantum