mirror of
https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin.git
synced 2025-04-21 17:36:22 +08:00
Toasts are now show on top of an InAppBrowser window (iOS).
This commit is contained in:
parent
bd2cb63e52
commit
75819ee95e
@ -2,7 +2,7 @@
|
|||||||
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
id="nl.x-services.plugins.toast"
|
id="nl.x-services.plugins.toast"
|
||||||
version="2.0.4">
|
version="2.0.5">
|
||||||
|
|
||||||
<name>Toast</name>
|
<name>Toast</name>
|
||||||
|
|
||||||
|
@ -107,7 +107,8 @@ static UIView *prevToast = NULL;
|
|||||||
toast.exclusiveTouch = YES;
|
toast.exclusiveTouch = YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
[self addSubview:toast];
|
// make sure that if InAppBrowser is active, we're still showing Toasts on top of it
|
||||||
|
[self.superview.superview addSubview:toast];
|
||||||
|
|
||||||
[UIView animateWithDuration:CSToastFadeDuration
|
[UIView animateWithDuration:CSToastFadeDuration
|
||||||
delay:0.0
|
delay:0.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user