exclude iPad mini device Titanium iOS - ios

I have created an iOS app in Titanium. I tried running the app on the simulators(6.1 and 5.1) and it works fine. However, when I run it on the iPad mini device it gets messed up.
Since, I have to submit the ap in the next 2-3 days; I ahve thought of excluding iPad mini from the app itself.
My app should not run on iPad mini. Is there a way to do that using XCode or Titanium.

try to run your app on your ipad mini and make this code to get the ipad mini ID
Ti.API.info( Ti.Platform.model )
it should return's you the model of ipad... then you can make an if to know if the current device is a ipad mini or not... if it is you display a screen saying that the app isn't supported for ipad mini yet.

Related

Run The App in iPad Mini 4 Configurations

I have developed IOS app for iPod touch and now I want to test My app in
iPAD Mini4 configurations because, one of my client told app was crashing in iPad Mini4.I tried in Xcode simulators but there is no iPAD Mini 4 and i don't have the device also.I have tried to download the iPad mini4 simulators in my Xcode but option for iPad mini4 is not available.Please tell how to test my app in iPad Mini4
Thanks in Advance !!!!
i think you could use the iPad simulator.
You can check this link for reference

Test app for iPad mini

I am developing application for ipad. I have tested application for ipad 9.7 inch. I want to test app for ipad-mini which is a client requirement. How can i test my app for iPad mini. Although ipad-mini and ipad 9.7 inch have same pixel ratio but according to client there is still an issue on ipad-mini.
I am currently using xcode 8.3.
There is no simulator device available for iPad mini.
You will have to download simulators for iOS 9 from the XCode-Preferences-Components as shown in the below image because iPad mini is not updatable to iOS 10. Thats why it is not showing up in the simulator list. Once you will download the components for iOS 9 you will get it in your simulator list.
There's no simulator for iPad mini. Either get one physical device or test on older version of ipad with similar resolution (or screen ratio)

iPhone-only gets detected as iPad app on iPad mini

We have a strange problem with UI_USER_INTERFACE_IDIOM() in our app.
Everything worked fine untill we tested iPhone-only target on iPad mini.
Normally you would expect UI_USER_INTERFACE_IDIOM() to return Phone in such case and system should display the app as 320x480 with toggles for (1x)/(2x) zoom mode but somehow on iPad mini this is not true. The function returns iPad thus our game thinks its iPad.
But thats not what is strange - also the system does not run the app in emulation mode but it gives us the bounds of the entire screen so we can render in actual iPad mini resolution.
How can this be possible and is it possible to disable this behaviour? What's more interesting is that when installed on regular iPad (new Air with iOS 9.0 and iPad 3 with iOS 8.0) it works as expected.
If this is any lead we recently switched from plain old plisted icons and launch images to Asset Catalogues and storyboard for launch image.

iPad Mini with earlier version of iOS treats iPhone only apps like iPad apps

I have an app designed for the iPhone only as the device family within XCode is set to iPhone. On an iPad Mini running a version prior to iOS 8.2, the app was treated as an iPad app without the (1x)/(2x) button at the bottom. This was causing crashes and confusion for my end users.
The solution is to upgrade to iOS 8.2 or later on the iPad.

Run app on iPad Mini Retina on Xcode 6

I build app for iPad and sent to my client, and gave me feedback that it runs on every iPad devices which we supported(compatible with iOS5+ iPad 1G, 2G, 3G, 4G, mini, mini 2, Air) except iPad Mini Retina, he said that App install fine but doesn't. I don't have iPad Mini Retina but I want to check this on my side. I install latest Xcode 6 but still I am not able to see iPad Mini Simulator which you can see attached image. So kindly any one give me suggestion how to accomplish this task. Thanks in advance.
Although an iPad mini isn’t an option for a simulated device in iOS
Simulator, you can still test apps for the iPad mini in the simulator.
To do this, run your app on the simulated iPad without Retina display.
via Testing for the iPad mini
So, the scoop is that you have to build apps for iPad 2 resolution. The iPad Mini is non-retina with a resolution of 1024x768 which means apps that already worked on an iPad 2 automatically work on iPad Mini. This is another useful thread.
You can test it on iPad Mini in Xcode by choosing Resizable iPad from the iOS simulators and then you can configure the pixel resolution in the simulator. The resolution in landscape is 1024x768 but on iPad Mini 2 and 3 it's 2048×1536. More info here.
For Xcode 7 one should use Ipad 2 and iPad Air.
See the Reply from apple-staff-user "jeremyhu" on
https://forums.developer.apple.com/thread/12567
i don't think thats an adequate solution although.

Resources