Warning: Attempt to present <ZMNavigationController: 0x150187400> on <myTloginScreen: 0x15083a000> whose view is not in the window hierarchy!
1.I get this warning when I am waiting for the host to start the meeting,In my demo app I am getting this alert in a view -> Screen shot attached IMG 3040
2.When I tried to integrate Zoom SDK in my existing app I get this warning
Warning: Attempt to present <ZMNavigationController: 0x150187400> on <myTloginScreen: 0x15083a000> whose view is not in the window hierarchy!
3.SDK I have integrated in my project
a.VIDYO SDK -> https://developer.vidyo.io/#/packages
this sdk uses something related to rootviewcontroller
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
UIStoryboard *storyBoard = [UIStoryboard storyboardWithName:@“iphone” bundle:nil];
UIViewController *initViewController = [storyBoard instantiateInitialViewController];
[self.window setRootViewController:initViewController];
return YES
}
b.-(BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
{
LoginWindow *guestAccess = (LoginWindow *)self.window.rootViewController;
guestAccess.guestPortal.text = URLvalue;
guestAccess.guestnameField.text =[kvpairs objectForKey:@"guestname"];
guestAccess.roomKeyField.text = [kvpairs objectForKey:@"key"];
guestAccess.roomPinField.text =[kvpairs objectForKey:@"pin"];
return YES;
}
c.SWRevealViewController
4.if the host start the meeting I am able to join the meeting without any warning and everything works fine.
5.please provide suggestion how to show the alert without any warning in my project as shown in screen shot img_3040.png
- I saw similar post in your community none have a proper answer.