mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 08:05:34 +00:00
using relative path instead of absolute path for Image tag
This commit is contained in:
parent
f26b493b46
commit
379e15fe81
@ -85,7 +85,7 @@ React.AppRegistry.registerComponent('SimpleApp', () => SimpleApp);
|
||||
|
||||
You should now add a container view for the React Native component. It can be any `UIView` in your app.
|
||||
|
||||

|
||||

|
||||
|
||||
However, let's subclass `UIView` for the sake of clean code. Let's name it `ReactView`. Open up `Yourproject.xcworkspace` and create a new class `ReactView` (You can name it whatever you like :)).
|
||||
|
||||
@ -150,7 +150,7 @@ This command will start up a React Native development server within our CocoaPod
|
||||
|
||||
Now compile and run your app. You shall now see your React Native app running inside of the `ReactView`.
|
||||
|
||||

|
||||

|
||||
|
||||
Live reload works from the simulator, too! You’ve got a simple React component totally encapsulated behind an Objective-C `UIView` subclass.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user