For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 button

  • floatingButtonTopOffset: The position of the button on the y-axis

Edge

BugReporting.floatingButtonEdge = .maxXEdge
LCQBugReporting.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 = 48
LCQBugReporting.floatingButtonTopOffset = 48;
BugReporting.setFloatingButtonOffset(50);
BugReporting.setFloatingButtonOffset(50)

Last updated