views:

7

answers:

0

I just want my app to run on both iPhone and iPad when it is running on iPad, the app only appear at the center of the screen. When user click on the enlarge button at right bottom corner like "2X" .the screen then turn into full screen mode

I can achieve the above effect on my iPad by using Development provision, choosing Target Device Family to be iPhone . ( if "Target Device Family" to be set at "iPad" or "iPhone/iPad" , the screen will just appear at top left corner, so i was forced to set it as "iPhone".) . IPhone OS Deployment Target is "iPhone OS 3.2" Base SDK is "iPhone Device 3.2"

I can compile that program using Distribution Provision. But when i upload it using Application Loader. It shows a error "This Bundle is invalid. An application targeting the . iPhone device family may not require a iOS Deployment Target of 3.2, which is an iPad-only OS "

i Dont know why i can do that on Development provision , but not at Distribution Provision . Could anyone help?