I am trying to present UIActivityViewController on an SkView but xcode gives me this error :
No visible @interface for \'Ga
IIRC the first SKScene that you create is inside an SKView.
This SKView is inside a UIViewController.
You can use properties or delegation or whatever you like to access methods on the UIViewController through the SKView from the SKScene. Or even use a notification.
Then on the UIViewController you can present the new view controller with no problems.