Set Floating Button Position
API reference for the Luciq floating button position. Choose which screen edge it sits on and how far down it appears by default.
If you're using the floating button as your primary invocation method, you can set a position for it to show up by default.
There are two variables here that can be manipulated:
floatingButtonEdge: Which edge of the screen to show the buttonfloatingButtonTopOffset: The position of the button on the y-axis
Edge
BugReporting.floatingButtonEdge = .maxXEdgeLCQBugReporting.floatingButtonEdge = CGRectMaxXEdge;BugReporting.setFloatingButtonEdge(LuciqFloatingButtonEdge.RIGHT);BugReporting.setFloatingButtonEdge(LuciqFloatingButtonEdge.RIGHT)Luciq.setFloatingButtonEdge(Luciq.floatingButtonEdge.right, 250);BugReporting.setFloatingButtonEdge(FloatingButtonEdge.right, 250);Top Offset
BugReporting.floatingButtonTopOffset = 48LCQBugReporting.floatingButtonTopOffset = 48;BugReporting.setFloatingButtonOffset(50);BugReporting.setFloatingButtonOffset(50)Last updated