You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The view won't dealloc unless I manually remove it from superView in the didDismissDelegateMethod
The problem with this though is if minimalNotificationDidDismissNotification method is never called, then the view is never dismissed. It may never get called if the view controller that called it is no longer alive, like popping back from a detail view controller
You can actually still see the view when rotating portrait to landscape on iphone x
Well that's not good. I'll dig into this issue tonight and get something pushed up to address it. In the meantime, could you put together a simple project that demonstrates the issue and share it with me? That'll save some time in trying to reproduce the issue. Thanks!
In JFMinimalNotification.m I added a NSLog statement when dealloc is called
Now push and pop from both buttons and notice dealloc is not called when I don't remove from superview
Also goto either detail screen and let the notification appear. Now rotate the device landscape and see that the notification is actually still there (its just out of view) meaning it never actually removed itself
The view won't dealloc unless I manually remove it from superView in the didDismissDelegateMethod
The problem with this though is if minimalNotificationDidDismissNotification method is never called, then the view is never dismissed. It may never get called if the view controller that called it is no longer alive, like popping back from a detail view controller
You can actually still see the view when rotating portrait to landscape on iphone x
NSLog(@"didDismissNotification");
if (notification != nil){
[notification removeFromSuperview];
}
}
The text was updated successfully, but these errors were encountered: