For example, I want to do something right in a UIView. I need a CGContextRef, but I do not want to create a new one, since this will be too much memory. Can I get a CGContextRef from a UIView?
Outside of the call to redraw, I don't believe. I remember how I tried it before. Sorry, I could not be more specific, but I did not touch the iPhone SDK for several months.
Only in the drawRect method:
UIGraphicsGetCurrentContext()
Source: https://habr.com/ru/post/1739112/More articles:Как заменить "" на "" в массиве в jQuery? - jqueryhg convert from cvs broke branches - branchREST api design for summary information - jsonHow can I make case-sensitive regular expressions match for Russian letters? - regexHow to determine webresponse stream encoding? - c #Invoking MethodBase Invoke on the constructor (reflection) - reflectionWPF resource combined with Application.Resources, but not allowed at runtime - resourcesМоделирование классовых отношений - c#What are modern and old compilers written for? - compiler-constructionSymfony 1.4: a software-installed environment for the CLI - command-line-interfaceAll Articles
" на "