Skip to content

Custom FBSDKLoginButton component #587

@magus

Description

@magus

Writing a custom view for the FBSDKLoginButton, have the button rendering to the UI. The main issue I've encountered is with whether the button is clickable or not. Depending on whether it is wrapped in a view, absolutely positioned, or has a manual width and height set, determines whether the button is clickable or not. I've gotten around the issue through absolute positioning and setting a static width and height, but I feel like this is hacky and there must be a better way of doing this.

Is there any documentation around this? Uploading the contents to a gist for feedback on my implementation, maybe there's something I'm missing because I'm very new to iOS development.

https://gist.github.com/magus/82415a7b9dfee8e70ccc

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions