我试图在另一个模态视图之上呈现一个透明的模态视图。我在用故事板。
我在我的第一种情态观点中补充了这一点:
self.modalPresentationStyle = UIModalPresentationCurrentContext;
[self performSegueWithIdentifier:@"sendUserMessage" sender:self];
这是我的第二个模态视图(我想显示在第一个模态视图上,第一个模态视图的背景是透明的)
// Make the main view's background clear, the second view
我在我的应用程序中使用ngx-bootstrap模态。我需要从应用程序中的任何地方访问登录和注册模态,所以我编写了一个服务,并使用该服务访问模态。
但是我无法在相应的component.css文件中更改modal-dialog的样式。而且我还面临着我的本地警示
WARNING in Circular dependency detected:
src/app/login/login.component.ts -> src/app/signup/signup.component.ts
-> src/app/login/login.component.ts
WARNING in Ci