FlaneurAuthorizationView
public protocol FlaneurAuthorizationView
Inherit from this protocol and UIView in order to provide a custom authorization view (Views displayed instead of pickerView when source is not allowed already. You need to include ActionKit in order to work with the mandatory authorizeClosure which is of type ActionKitVoidClosure
-
Init with sourceName et authorizeClosure
Declaration
Swift
init(withSourceName sourceName: String, authorizeClosure closure: @escaping ActionKitVoidClosure)
Parameters
sourceName
The name of the source (ex: Instagram) will be given to you through this parameter
closure
The closure to attach to your UIButton in order to launch the authorization popup, you need to include ActionKit in order to do that.linked text