I would like to get the current dimension of the screen. i used self.view.frame.size.width
NSLog(@"%f",self.view.frame.size.width)
so when I run in the iphone simulator , it will return 320 however, when i run in the ipad simulator, it will still return me 320
I have different nib files for iphone and ipad and they're getting the proper nib files and the target family is ipad/iphone it should return 768 and so i can resize the images according to that.
any ideas?