aschuch / StatefulViewController

Placeholder views based on content, loading, error or empty states

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set a different frame in the loading View does not work

LucianoTurrini opened this issue · comments

Thanks for this really great library!

I have a problem:

I can not put a different frame for LoadingView, for example:

loadingView = UIView (frame: CGRectMake (0, 0, 100, 100))

this does not work, the loadingView always frame the superview, never changes, can help me?

Yes, the placeholder views are always fixed to the edges of the screen at the moment.
I am open for discussion to change that.

For now, if you want to show the content behind the placeholder view, you could make parts of the view transparent.

This has been addressed in #23