If I create iOS application in XCode 7.2 with SDK 9.2 using swift will that work in iPhone 4 with iOS 6? - ios6

If I create iOS application in XCode 7.2 with SDK 9.2 using swift and set application compatibility to SDK 6, will that application work in iPhone 4s with iOS 6?
OR is there any compatibility cheat sheet?

Swift will only work on iOS 7 and higher, it will usually crash at launch on older OS versions.
Here is apples short blurb on compatibility https://developer.apple.com/swift/blog/?id=2
App Compatibility
Simply put, if you write a Swift app today and submit it to the App Store this Fall when iOS 8 and OS X Yosemite are released, you can trust that your app will work well into the future. In fact, you can target back to OS X Mavericks or iOS 7 with that same app. This is possible because Xcode embeds a small Swift runtime library within your app’s bundle. Because the library is embedded, your app uses a consistent version of Swift that runs on past, present, and future OS releases.

Related

If I create a project to react native how to make it support on several Android platforms for example (Android 6 and later)

I'm new in the world of APP(mobile applications). I want to create a APP using react native. But it is necessary that it works out in several versions of android (6 onwards).
Now I am working on no expo way and on windows 10 too. So, I installed react native that now it works with android 9 (PIE) API LVL 28 AVD. If I finish my project with this API, would the apk work on different old versions of Android? or only in phones which have API 9. Give me advices pleases.
if i development my project with react native 0.61.5 version (the last i think 18/02/2020), would i run old APIs of android (6 onwards i want)?. Or, do i need to put my react native version on an old version to development an APP on android 6 to run on several versions?. Or the only thing that i need to do is write a sentence in my code that cover some plataforms.
PD: I'm new in this web page too.
You want to set your minSDK in the Android project. To do so, open up your build.gradle in the Android portion of your project and then change minSDK to whatever version you need. IIRC React Native supports all the way back to API 19 and Android 6 is API 21. If it's already low enough, no need to change it. That being said, I'd still recommend testing on multiple phones.
If I understand your question #abdiaslabrador, you want your app to be available to users still on android version 5.1 to 8.1 and to do that you have to select an Android API level lower than level 29 which targets only android phones running Android10. For your case, that'd be android API level 22 which enables you target android version 5.1 (lollipop) and above. Check out the official android build numbers page for more clarification

Xamarin.Forms iOS app crashes in ListView after update to Xamarin.Forms 2.3.4.231

The app is a Xamarin.Forms PCL app running version 2.3.4.231 after an upgrade from Xamarin.Forms v2.2.0.31. The app works just fine on my iPhone 6s running version 10.2.1, however the app crashes on the ListView page when running on my iPad Mini 2 running version 7.1.2. More importantly, neither Xamarin Insights or HockeyApp catches the error.
The app worked just fine with the old version of Xamarin.Forms when both Windows 10 and my Mac Book was running this version of the software. https://releases.xamarin.com/stable-release-cycle-6-service-release-4/
I just upgraded both Windows 10 and my Mac Book to this version of the software. https://developer.xamarin.com/releases/vs/xamarin.vs_4/xamarin.vs_4.4/
I'm now getting this error in the iOS properties section.
It might be important to note that I'm using this in the ListView page. Both packages are installed in the Portable and iOS Projects.
Xamarin.FFImageLoading v2.0.5
Xamarin.FFImageLoading.Forms v2.0.5
I'm just assuming this has something to do with ListView, but I have no idea other than this is where the app is crashing. Any help is much appreciated. Let me know if you need to see some code.
iOS 7 and 8 are no longer supported according to this link. https://github.com/xamarin/Xamarin.Forms/pull/630
If you are using the latest version of Xamarin.Forms 2.3.4 or newer, versions older than iOS 7 are no longer supported. You can see the official documentation here, under "Other Changes"
https://releases.xamarin.com/stable-release-xamarin-forms-2-3-4-224/
It does appear iOS 8 and newer are still supported however.

Which version iOS, Android and Windows devices should I use for testing my Xamarin app?

I'm dabbling in Xamarin-based apps. I want to test my stuff on real iOS, Android and Windows devices.
(I'll use the emulators and "test cloud", but I also want to test physically. Just one device for each platform, don't care about resolution, etc.)
As of this year - 2016 - what is the minimum version I should target for each OS when I'm buying these three devices?
I won't buy the latest and greatest of each, so my fear is that I'll buy devices which are outdated. I just want old/cheap devices for my test bed, but they must be new enough to work with Xamarin.
Most of my clients want their mobile apps to support current and two prior major versions of OS, e.g. at the moment iOS 9, 8, 7 and support Android 6, 5, 4(.1.1). Using Xamarin for about two years now have had no problems in achieving this. I keep a 2012 Motorola Droid Razr HD running Android 4.1.1, a 2013 Nexus 7 running Android 6, an iPad 2, an iPhone 6, an iPod Touch. Less variation in capabilities and behaviors on the Apple side makes things easier there. Your idea of having a small group of devices has served me well.

ios6 ios7 xcode4.6 xcode5 dilemma

I was building an app in xcode 4.6 (ios6.1) and everything was fine.
I ran the same code through xcode 5 (ios 7) on an ios7 device and simulator, and I ran into the full screen (status bar included) issue, horizontal scrollview issues, modal viewcontroller issues, et al.
I’m using a navigation controller with the bar turned off. Instead I’m using a custom view to pass for a bar. So the extendedEdge thing isn’t working as well.
I understand that eventually, I’ll have to update my design and implementation accordingly.
Now here’s the dilemma – I ran the app (backed up original code) from xcode 4.6 (ios6) on an ios 7 device, and it’s working absolutely fine. It’s leaving it’s gap for the status bar, and there are no issues at all.
What I can’t understand now is how to proceed?
Will the app be accepted if I continue working on xcode 4.6 with ios6 (since it’s almost finished)?
I’m not able to move to xcode 5, since it has only the latest ios7 as the Base SDK.
I can’t find a legitimate way to add ios 6 sdk to xcode 5 (except copying the 6.1 SDK to the xcode5 package).
And, if I hadn’t downloaded xcode 5 DP (which installs it separately), the mac app store would have updated my xcode 4.6 to xcode 5
Apple still accept applications submit through Xcode 4.6
But consider that you would loose some new functionality like having different icons to each OS version etc.
Moreover, your app won't use the 64-bit processor (it is still compatible but if your app is a game or something like that it is recommended to use it).
I assume that in few months you won't be able to submit apps using the old Xcode.
UPDATE:
For you to be able to use status bar as before (like hidden), in your apps plist file add a row call it "View controller-based status bar appearance" and set it to NO
Just to update people who might be looking for an answer to this -
Apple will only accept apps and updates made with Xcode 5 on iOS 7, effective 1st Feb 2014.

Use JavaFX without Java7u9 On OSX - Snow Leopard

I would like to use JavaFX in one of my project. I know it comes with Java7-Update9, but the machine that I'm using only supports up to Java7-Update2. (This is an OSX-Snow Leopard)
Does any one have a suggestion on how to do this?
THanks
JavaFX is part of Oracle Java for Java 7 update 6 and later for Windows, OS X and Linux.
JavaFX 2.2 is currently available as a separate download for Windows for some versions of Java not including JavaFX (Java 6 and Java 7 versions before update 6).
JavaFX is not available for OS X 10.6 (Snow Leopard).
JavaFX is not available for Java versions prior to Java 7 update 6 for OS X or Linux.
(This answer refers to the current JavaFX 2+ version, not the obsolete JavaFX 1.x version - use of the obsolete version is not recommended).
While I cannot verify this (I don't know how to use JavaFX), I do know that it is possible to force install the latest Java 7 (update 14) on Mac OS X 10.6 (Snow Leopard):
How to install java jdk 7 on Snow Leopard

Resources