Json2view as iOS solution

For Android, I see there is a very good Json2View solution:

https://github.com/Avocarrot/json2view

to create the UI of an Android app on the fly. Is there a similar solution for iOS? Are there any restrictions on using the JSON based UI concept for iOS, how does json2view for Android work? Or, your best bet would be to distribute an open source library that has tastes for both Android and iOS.

+3


source to share


2 answers


Using React Native , you can do the same. Strictly speaking, its not Json for viewing, but its JavaScript for viewing .

No matter what kind of views created in ReactJS are created using the built-in UIKit Framework.
For example if you use scrollview component in JS it will use scrollview subclass UIScrollView.

Please see this link for a detailed overview



https://facebook.github.io/react-native/

https://github.com/facebook/react-native/issues/823

0


source


You cannot do anything like this, you will end up with an apple rejected for using some kind of code injection.



-1


source







All Articles