Pregunta

I have created a tiny little project to show what is happening.

You can get it from my GitHub repo.

As a brief explanation.

I have an app that I want to use an image as the background view of several UITableViews.

At first I was setting it every time I created a UITableView and it was working fine but felt like a lot of repetition.

So I moved it into a UIAppearance update.

However, now there are certain things that cause the main thread to block and the memory rockets.

If you download my repo you'll be able to see what's going on.

Is there something I can do to get this working? Or is this a bug with iOS?

I'm looking at setting it all up per table view again :D

Thanks

¿Fue útil?

Solución

According to this answer UITableView doesn't support appearance customization using setBackgroundView. So this isn't a bug - it simply unsupported yet.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top