autresphere / ASDepthModal

An Objective-C class that adds a sense of depth to your modal popup views.
MIT License
430 stars 74 forks source link

Issue changing the rootViewController #17

Open jonasman opened 11 years ago

jonasman commented 11 years ago

Hello,

When the line is exected: window.rootViewController = self;

The actual RootView Controller recevies a message : viewWillAppear and viewDid appear because it was changed to an ASDepthModal view. ( [self.view addSubview:self.rootViewController.view];)

I think this is not good behaviour. And what about changing the implementation to add the modal view not to the root but as a presenting VC of the current VC or of the current root?