iOS 上未显示 nativescript-toast
nativescript-toast not showing on iOS
在我更新到最新版本的 nativescript-toast 后,它在 iOS 中停止工作(在 Android 中它工作正常)。我的意思是,没有显示吐司,而应用程序按预期运行。
在以前的版本中,一切都符合预期。但是在我更新到新的之后,它停止工作并将 pod SBToaster 添加到我的 podfile 中。
这是package.json
"nativescript-toast": "^2.0.0",
以前我的版本是1.4.6
在我的 Podfile 中有:
pod 'SBToaster', '~> 2.1.2'
pod 'Toast'
在我的组件中我有:
Toast.makeText(message).show();
我在最新的 SDK 上遇到了 nativescript-toast
插件的各种兼容性问题。最简单的方法似乎是切换到更相关且最新的 nativescript-toasty 插件。
tns plugin add nativescript-toasty
在我更新到最新版本的 nativescript-toast 后,它在 iOS 中停止工作(在 Android 中它工作正常)。我的意思是,没有显示吐司,而应用程序按预期运行。
在以前的版本中,一切都符合预期。但是在我更新到新的之后,它停止工作并将 pod SBToaster 添加到我的 podfile 中。
这是package.json
"nativescript-toast": "^2.0.0",
以前我的版本是1.4.6
在我的 Podfile 中有:
pod 'SBToaster', '~> 2.1.2'
pod 'Toast'
在我的组件中我有:
Toast.makeText(message).show();
我在最新的 SDK 上遇到了 nativescript-toast
插件的各种兼容性问题。最简单的方法似乎是切换到更相关且最新的 nativescript-toasty 插件。
tns plugin add nativescript-toasty