can we place OS version specific images other than app icon or launch image in Asset Catalog? - ios7

We can place iOS specific app icon and launch image in Asset Catalog. Can we place other images used for buttons, bars or other UI elements in the Asset Catalog to be used with specific iOS versions? Or there is only way to do these programmatically?

I have the same problem. It would have been really nice, if Apple had developed a more flexible asset management, like Android (for example) has since many years...
Regarding your question: According to the official documentation, there is no such way (at least I could not read anything about it) at the moment (iOS 7).

Related

I'm making an macOS app. Is that possible to use a different app icon on different version of OS?

I've been working on an macOS app for a while. And recently Apple released the first beta version of Big Sur, so I changed my app icon into rounded rectangle shape, just like every other apps in Big Sur.
Now I wonder if it is possible to let my app use rounded rectangle shape in macOS 11.0+, and use another icon in previous versions?
I noticed that Apple's Developer.app is already doing this.
EDIT: I noticed that Apple's Developer.app app icon doesn't change automatically. You have to reinstall it from the App Store.

How to deal with the ios Launch files

It has been a while since I created my last app and I missed the change with the launch file (since titanium 5.2.0).
I want my app to have a custom splashscreen (full screen image). In the past I used the various png files for the splashscreens Default.png, Default#2x.png etc.
I'm testing with the launch file and the custom Storyboard. At the moment it's not clear to me how I can achieve the behavior i want: A full screen image in the splash screen.
What is the best approach?
Thanks for the help.
Go to http://docs.appcelerator.com/platform/latest/#!/guide/Icons_and_Splash_Screens-section-29004897_IconsandSplashScreens-iOSgraphicassetrequirementsandoptions and take a look at the Purpose column. You'll see 9 splash screen sizes. You have to make each of them and put them in app/assets/iphone. Note that you have to name them exactly as told in the table.
This worked for me, Ti-5.4.0 tested on iPhone 7, iPad Air, iPhone 4S and iPhone 6S Plus.
Since version 5.2 storyboards were introduced. You can use them or you can disable it and use the "old" method to implement splashscreens.
To disable it, add this to tiapp: (of course, within the existing ios section in tiapp
<ios>
<enable-launch-screen-storyboard>false</enable-launch-screen-storyboard>
</ios>
To use it, look at the documentation how to implement it correctly.

Is there a way to disable slide over in ipad (ios 9) [duplicate]

I have a large app that I will need some time to optimize for iOS9.
Edit: What I am worried about is all the UI getting squeezed together when the app window size is reduced. So my question is, is there any way to force full screen for the app?
To opt-out (disable) multi-tasking for your application:
Select your Target → General Section → Scroll Down and
check Requires full screen
It gets applied to the plist's UIRequiresFullScreen key value.
Note: Apps are required to support all screen orientations if it supports multitasking. Otherwise, apps will get the following error on publishing:
Invalid Bundle. iPad Multitasking support requires these orientations: ...
You have to modify your project to support multitasking. According to WWDC 2015 video, to adopt your app for multitasking, satisfy these requirements:
Build your app with iOS 9 SDK
Support all orientations
Use Launch Storyboards
So, if any of this is not done yet, your app will not be able to support multitasking.
Of course, if you don't use size classes, put it at the top of the list.
Edit: according to you question edit. There is a UIRequiresFullScreen key in Info.plist. See more at Apple docs
To opt out of Slide Over and Split View, do so explicitly by adding the UIRequiresFullScreen key to your Xcode project’s Info.plist file and apply the Boolean value YES.
You can set above thing using General tab of Targets, Select Requires Full Screen check. Refer below image for the same
Note :
A user can disable Slide Over and Split View in Settings > General >
Multitasking. If you think you’ve set up everything correctly and find
that these features still don’t work, check this setting.
See Adopting Multitasking Enhancements on iPad - Slide Over and Split View Quick Start.
It's still possible to opt-out of iPad multitasking — but Apple announced at WWDC 2019 that in April 2020, all iPad apps will be required to support multitasking.
The original announcement and discussion is in the first few minutes of "Modernizing Your App for iOS 13", and there's a (brief) announcement on their developer-news site as well.

Display App in 3.5" Resolution on iPhone 5 for Development/Debugging

Does anyone know if there is a way to force an app you're developing to run in a 3.5" screen size mode if you're on an iPhone 5, just for dev/debug purposes? Something such as what might look like a toggle in the Development section of Settings or something. In other words, run the app such that it LOOKS like it's running on a non-5 iPhone (black bars on top/bottom), that way I can test certain UI functions.
For clarification, I'm NOT saying "I don't want to support iPhone 5" - I most certainly do. Also, I'm aware that I can do the 'old' retina display in the simulator, but I do not want to use the iOS Simulator as the app includes libraries that do not support i386 architecture, uses push notifications, and heavily relies on GPS to function correctly. I'm just looking for a way to test both aspect ratios on the same device to save money/time.
Thank you!
It appears that by removing the app from device, deleting the Default-568h#2x.png launch image, cleaning the project, and re-running app, I can get the functionality I'm looking for, although not as nicely as a toggle switch.
Letter box in iPhone5

Managing an iOS app across different platforms

I have an iOS 5.0 app presently and had a few questions regarding deploying the app across multiple platform and multiple OS upgrades. I would like to know if there is a clean and configurable system that allows me to have one project handle deployment to the iPhone iOS5 and iOS6 and the latest iPad iOS without having ugly selection statements everywhere determining the platform the app is being currently run on. So I would like to know if there is a way to manage the code from a dev prespective so i can support all version/platform specific features of my app depending on what platform/version it is being currently run on (for ex. automatically switching to use the longer dimension background images if the app is being run on an iPhone 5 with iOS 6)
Is there any way to have this functionality?
I am slightly confused with your question, but I'll explain what I know. Xcode already has a way to change your app depending on what Device/iOS Version the user is running. If you use storyboards, then it will automatically resize your app content depending on whether the screen has retina support, and the size of the screen. In addition, you can have a storyboard for iPad, so that when you run the app it will use the iPad version. It also will change the app icons. Just go to the project settings and scroll down until your get to the icons and lunch images.
Now, if you mean you want to change how your app works using the source code directly, then there is no easy to way to manage it. Your best bet is to go with Storyboards, as it makes it very easy to resize content depending on what device your using.