Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有一个覆盖了 DrawRect 的 UIView,并且我调用了 setNeedsFisplay,我的渐变不会重绘。
它们没有被我缓存。我每次画画时都在创造它。
如果视图没有调整大小,这似乎只是一个问题。
什么会导致这个?
I have a List of objects and each object is a another List of objects, so for example, I am passing List<object> cars to one method and I want to get all the properties of on
List<object> cars