2017-06-13 44 views
1

我只是試圖爲調試選項設置兩個標誌。爲什麼這是斯威夫特4二進制運算符不能應用於兩個SCNDebugOptions

enter image description here

+0

相同的問題https://stackoverflow.com/questions/30761996/ swift-2-0-binary-operator-can-be-applied-to-two-uiusernotificationtype和https://stackoverflow.com/questions/30867325/binary-operator-cannot-be-applied-to-two-uiviewautoresizing-操作數(來自「相關」部分)。 –

回答

7

一個問題,而不是做 「|」,使用一組:

sceneView.debugOptions = [ARSCNDebugOptions.showFeaturePoints,ARSCNDebugOptions.showWorldOrigin] 
相關問題