react-native的一个toast显示问题(react-native-toast) 财富值6

2016-10-26 10:39发布

自己想问一个react-native的一个toast显示问题,从网上找到https://github.com/remobile/r...,但是按照配置之后,无论怎么样都不会显示...

附上配置过程:

  • Drag RCTToast.xcodeproj to your project on Xcode.

  • Click on your main project file (the one that represents the .xcodeproj) select Build Phases and drag libRCTToast.a from the Products folder inside the RCTToast.xcodeproj.

  • Look for Header Search Paths and make sure it contains both $(SRCROOT)/../../../react-native/React as recursive.

自认为有一定的react-native基础,这些配置还有之后调用都是按照文档来的,基本错误不应该有,插件和react-native都是用的最新的,系统为OS X10.12.

按照代码实例进行操作后,无论如何也没有东西弹出,是不是少配置了些什么??

或者求问老司机还有没有什么别的插件可以实现类似的功能,就是出现个提示框又可以自行消失的?

付费偷看设置
发送
1条回答

你确定使用方法没问题?