Buglife / Buglife-iOS

Awesome bug reporting for iOS apps
Apache License 2.0
509 stars 63 forks source link

Update Docs to explain how to customize floating button #34

Closed bbookman closed 6 years ago

bbookman commented 6 years ago

I'd like to understand how to:

schukin commented 6 years ago

Hi @bbookman - my sincere for the atrociously late response here, this one somehow flew under our radar.

The floating bug button API is rather limited; we don't have plans to expand the API at the moment, since the vast majority of users use the screenshot or shake APIs. We do recommend the screenshot API in general, as this tends to be the most intuitive to end-users. That said, we always welcome pull requests :)

If you're still looking to customize the floating bug button, I can recommend one of three approaches: A) Fork this repo, and make the necessary changes to LIFEBugButtonWindow.m B) Use method-swizzling to override methods related to presentation of LIFEBugButtonWindow C) Disable the bug button entirely, and create your own bug button by copying code from LIFEBugButtonWindow

Please let me know if any of this is unclear. :))

bbookman commented 6 years ago

Odd, in my memory you had already responded. No problem. Since obj-c is a no go for me, I just decided against the floating bug and went with the other options

schukin commented 6 years ago

Ah yes, it may have been via a support email ;) glad it worked out!