| | |
| | | /** |
| | | Designated initializer. |
| | | |
| | | - Parameter tagline: First part of the label, that will be highlighted with different color. Can be nil. |
| | | @param tagline First part of the label, that will be highlighted with different color. Can be nil. |
| | | |
| | | - Parameter message: Main message to display. |
| | | @param message Main message to display. |
| | | |
| | | - Parameter colorStyle: Color style to use for tooltip. |
| | | @param colorStyle Color style to use for tooltip. |
| | | |
| | | |
| | | |
| | | If you need to show a tooltip for login, consider using the `FBSDKLoginTooltipView` view. |
| | | |
| | | |
| | | - See:FBSDKLoginTooltipView |
| | | @see FBSDKLoginTooltipView |
| | | */ |
| | | - (instancetype)initWithTagline:(NSString *)tagline message:(NSString *)message colorStyle:(FBSDKTooltipColorStyle)colorStyle; |
| | | |
| | |
| | | Show tooltip at the top or at the bottom of given view. |
| | | Tooltip will be added to anchorView.window.rootViewController.view |
| | | |
| | | - Parameter anchorView: view to show at, must be already added to window view hierarchy, in order to decide |
| | | @param anchorView view to show at, must be already added to window view hierarchy, in order to decide |
| | | where tooltip will be shown. (If there's not enough space at the top of the anchorView in window bounds - |
| | | tooltip will be shown at the bottom of it) |
| | | |
| | |
| | | /** |
| | | Adds tooltip to given view, with given position and arrow direction. |
| | | |
| | | - Parameter view: View to be used as superview. |
| | | @param view View to be used as superview. |
| | | |
| | | - Parameter arrowPosition: Point in view's cordinates, where arrow will be pointing |
| | | @param arrowPosition Point in view's cordinates, where arrow will be pointing |
| | | |
| | | - Parameter arrowDirection: whenever arrow should be pointing up (message bubble is below the arrow) or |
| | | @param arrowDirection whenever arrow should be pointing up (message bubble is below the arrow) or |
| | | down (message bubble is above the arrow). |
| | | */ |
| | | - (void)presentInView:(UIView *)view withArrowPosition:(CGPoint)arrowPosition direction:(FBSDKTooltipViewArrowDirection)arrowDirection; |