In Xcode 6, I opened up the Preview so I could see how my storyboard would look on different devices. I can add devices to the preview. In fact, I can add the same device to the preview over and over. But how do I remove a device from the preview? I tried closing out of Xcode and re-opening it, but they are still there.
相关问题
- Xcode 6 Storyboard crashing when scrolling to part
- Images.xcassets breaking the laws of targets
- SpriteKit & Swift: Creating nodes via didBeginCont
- Xcode 6 GM with iPhone 5s (iOS 8 GM) - 0xE8000070
- Xcode 6 doesn´t find cocoapods libraries
相关文章
- Change color of accessoryType Swift
- Is it not possible to use “Analyze” with swift?
- How to format a date like “5 min”, “1 hour,”, “Yes
- Live Streaming in Swift
- Google Analytics not initialising in Swift
- CLLocationmanager delegate method is not working i
- How to convert code AVFoundation objective c to Sw
- Disable Hardware Keyboard for iOS Simulator using
I don't know if I tried this in XCode 6.0 or not, but I'm on 6.1 now and I was able to remove the previewed device. Select the device (you can see a blue outline around the device when selected) in the Preview panel then press delete. That will remove it from the Preview panel.
Kurt Anderson's answer works from Xcode 6.1 all the way to the latest Version 8.2.1 (8C1002). I assume the same "select" then "delete" will work for the future Xcode as well.