About setRotation

+2 votes
asked Nov 5, 2017 by evanbean (180 points)
I see there are some warnings in setOrientation(_ orientation: UIInterfaceOrientation) in the SWIFT example files..

It seems if you want to use the "do {try...} catch", the func setRotation should be defined

public static func setRotation(_ rotation: Int32)  throws -> String

isn't it?

Please log in or register to answer this question.

Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...