|Apr 17, 2012, 02:48 PM||#1|
iphone ipad nib
i am trying to do universal app. i am doing some drawing in drawrect, this works fine when i execute for iphone, but same thing does not work for iPad.
i tried doing separate ipad xib, by creating a new nib file using IB but here the drawrect seem to draw something bizzare from previous scren.
i tried copying the iphone xib and resizing it to ipad, but it does not allow me to change view size !
what is the ideal solution ?
|Apr 18, 2012, 02:11 AM||#3|
thanks, but the codes are a bit much to post and explain.
I dont understand, just increasing the view size would take previous screen's context, even in viewdidappear i called view setneedsdisplay, but it is taking previous screen's colours and items ! in iPhone it is fine.
it seems the system is applying some transforms in the view after drawrect is called, can we make it so that the transforms are applied and then drawrect is called ?