Re: iOS screen physical size (or px density)

2013-11-26 Thread Jacky.Seraph Mu
Maybe you can refer to [UIScreen mainScreen].scale and [UIScreen mainScreen].bounds The scale tells you the pixels per point. The bounds provides you the whole screen size in point. To get the real size per pixel: scale * bounds Cheers Jack.S Mu 2013/11/25 Roland King > Is there yet a sup

A question about NSScreen being autoreleased during loadNib()

2013-06-04 Thread Jacky.Seraph Mu
Hi, I am OSX developer. The problem I encountered is described as below: - (void)method1:(NSObject *)arg1 contextInfo:(NSObject *)arg2 { ... [self method2:arg1 screen:[self.windowController window].screen]; ... } - (void)method2:(NSObject *)arg1 scre