Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

Commit

Permalink
📝 Fix #if condition at simulator section
Browse files Browse the repository at this point in the history
  • Loading branch information
junpluse committed Apr 19, 2017
1 parent ad1deca commit f9b507f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -95,10 +95,10 @@ Check example apps for more samples.
`PanoramaView`, `StereoView` and `StereoViewController` can also be used on iOS simulator by using alternative initializers.

```swift
#if METALSCOPE_ENABLE_METAL
#if arch(arm) || arch(arm64)
let panoramaView = PanoramaView(frame: view.bounds, device: device)
#else
let panoramaView = PanoramaView(frame: view.bounds) // on simulator
let panoramaView = PanoramaView(frame: view.bounds) // simulator
#endif
```

Expand Down

0 comments on commit f9b507f

Please sign in to comment.