i have iphone with os ver. 2.0 i read that for app store all appplication must be run 3.0 os.so how could i make my application to run in both firmware.is there a way i can detect if os ver.>3.0 then run different statments alse run statments for lower than 3.0 os.currently i am using this.
#if __IPHONE_3_0
cell.textLabel.text=cellValue;
[cell.textLabel setFont:[UIFont systemFontOfSize:15.0]];
[cell.textLabel setLineBreakMode:UILineBreakModeTailTruncation];
#else
cell.text=cellValue;
[cell setFont:[UIFont systemFontOfSize:15.0]];
[cell setLineBreakMode:UILineBreakModeTailTruncation];
#endif
will it run on both firmware
i want to make my app to be run on >=3.0 os and lower than this...please help me
how do i check my application for deprecated methods...i can only see this line as deprecated cell.text=cellValue;
is there anything to change.i have installed new sdk named iphone_sdk_3.0__leopard__9m2736__final.dmg