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 various "showNotificationInViewController:" methods call the full-signature method, which does not use the "defaultViewController" if a view controller is not passed in (i.e., nil). (Only the basic "showNotificationWithTitle:" methods explicitly pass in the default.)
Possible Fix:
In full-signature "showNotificationInViewController:" method:
The various "showNotificationInViewController:" methods call the full-signature method, which does not use the "defaultViewController" if a view controller is not passed in (i.e., nil). (Only the basic "showNotificationWithTitle:" methods explicitly pass in the default.)
Possible Fix:
In full-signature "showNotificationInViewController:" method:
TSMessageView *v = [[TSMessageView alloc] initWithTitle:title
...
inViewController:(viewController ?: [self defaultViewController])
...
];
Workaround:
Call method by passing in available default method:
[TSMessage showNotificationInViewController:[TSMessage defaultViewController]
...
];
The text was updated successfully, but these errors were encountered: