0
我用iPhone 4和iPhone 6来测试一个非常简单的应用程序,如果有什么不正常的是我听键盘事件。有没有人有RN 0.18.0's Devtool的这个问题?
componentWillMount:function() {
StatusBarIOS.setHidden(true);
DeviceEventEmitter.addListener('keyboardDidShow',(frames)=>{
console.log("keyboardDidShow frames: " + frames);
});
DeviceEventEmitter.addListener('keyboardWillHide',(frames)=>{
console.log("keyboardWillHide frames: " + frames);
});
},
当我启动Devtool中,Chrome是完全与此消息,并不断到来。 有没有办法看到我的日志信息与这个无尽的警告。
Running application "Project18" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
YellowBox.js:57 jsSchedulingOverhead (-1766ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1769ms) should be positive
3YellowBox.js:57 jsSchedulingOverhead (-1767ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1766ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1762ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1766ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1768ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1767ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1766ms) should be positive
3YellowBox.js:57 jsSchedulingOverhead (-1767ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1768ms) should be positive
2YellowBox.js:57 jsSchedulingOverhead (-1769ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1764ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1769ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1768ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1767ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1768ms) should be positive
2YellowBox.js:57 jsSchedulingOverhead (-1769ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1768ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1766ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1767ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1769ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1768ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1765ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1768ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1767ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1770ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1769ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1735ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1769ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1767ms) should be positive
YellowBox.js:57 jsSchedulingOverhead (-1768ms) should be positive
2YellowBox.js:57 jsSchedulingOverhead (-1769ms) should be positive
3YellowBox.js:57 jsSchedulingOverhead (-1768ms) should be positive