Skip to content

Custom View not showing in storyboard #71

@MMohamad70

Description

@MMohamad70

Hi,
I am using this library and managed to call localiz() after awakeFromNib() method is called.
Everything works fine on the simulator. but when I create custom views (@IBDesignable component) and add them to the ViewController on the storyboard, they cannot be rendered and show errors. I debug the component and it crash on localiz() line and say that default language not set, although I've added the default language on AppDelegate.
Can you suggest what is the problem and how can I solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions