How do I get the size of an Iphone context -


मेरे पास;

CGContextRef संदर्भ = UIGraphicsGetCurrentContext ();

अब मुझे संदर्भ की चौड़ाई / ऊंचाई जानना है (पिक्सल में); ऐसा करने का कोई तरीका?

आप उस जानकारी को CGContextRef ऑब्जेक्ट, लेकिन आसपास के फ्रेम ऑब्जेक्ट से:

  self.frame.size.width self.frame.size.height  

Comments

Popular posts from this blog

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -