SetNeedsDisplay not working

前端 未结 2 1277
故里飘歌
故里飘歌 2021-02-14 13:59

I saw many threads related to this issue, but none addresses my case (I think).

My case should be simple, I have a Custom UIView in my controller, from my c

2条回答
  •  梦谈多话
    2021-02-14 14:28

    I think the correct way to use it is:

    [self setNeedsDisplay:YES]; 
    

    Although I always have problems to get that working :(

提交回复
热议问题