UnbluView
public protocol UnbluView : UIView
A protocol that defines additional behaviour available on the UnbluView
, which itself will always be a UIView
.
-
Tells Unblu that the view appeared in the visible screen area in your app.
The UnbluView will always try to determine whether it is visible automatically, but calling this is an explicit way to inform Unblu of a state change. Typically, this function is used in situations where the UnbluView is obscured/revealed by another View.
Note:
- Calling this does not stop Unblu automatically detecting whether it is visible.
Declaration
Swift
func didAppear()
-
Tells Unblu that the view disappeared from the visible screen area in your app.
The UnbluView will always try to determine whether it is visible automatically, but calling this is an explicit way to inform Unblu of a state change. Typically, this function is used in situations where the UnbluView is obscured/revealed by another View.
Note:
- Calling this does not stop Unblu automatically detecting whether it is visible.
Declaration
Swift
func didDisappear()