React-Native 开发的App, 所有组件ios & android 共用, 共享一份代码
包括一些自定义的组件, 如NavigationBar, TabBar, SegmentedControl, 使用字体图标, 具有一定的参考意义
主要专注于布局, 共享组件/代码, 以及一些React自带的组件, 如: ScrollView, TouchableOpacity, View, Text, ListView, Image, WebView 和 Api的使用,
这并不是一个完整版, 只是业余时间, 对web版的一个native化, 特共享出来, 供各位参考.
代码在github上面
https://github.com/362228416/react-native-imapp
andorid 版本
![android.gif](https://i-blog.csdnimg.cn/blog_migrate/f6ad4b4e858b3233eebeb4a758ee1171.gif)
ios 版本
![ios.gif](https://i-blog.csdnimg.cn/blog_migrate/7bb147a42be9a0c5b13d938ac94cfbe6.gif)
<script type="text/javascript"> $(function () { $('pre.prettyprint code').each(function () { var lines = $(this).text().split('\n').length; var $numbering = $('<ul/>').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i <= lines; i++) { $numbering.append($('<li/>').text(i)); }; $numbering.fadeIn(1700); }); }); </script>