UIPageControl allowsContinuousInteraction - ios

UIPageControl has a new way of changing a page, it's called continuous interaction, which is available in UIKit 14 and above.
I would like to know, if this behavior will be enabled in apps compiled against SDK 13 but launched on devices with iOS14 (after update from iOS 13)
Updated:
I don't have a device which I can update to iOS14
Updated:
I have Xcode 12. But the simulator is under iOS14 and I have to recompile the app, sdk 14 will be used, to install it on iOS14 simulator
I want to simulate a case when a user open, an app compiled with sdk13, on his devices after updating to iOS14

I have Xcode 12. But the simulator is under iOS14 and I have to recompile the app, sdk 14 will be used, to install it on iOS14 simulator I want to simulate a case when a user open, an app compiled with sdk13, on his devices after updating to iOS14
You're doing it wrong. Build the app with Xcode 11 and locate the built app in the Finder. Switch to the Xcode 12 Simulator running iOS 14 and drag that app onto it. The app runs and now you can see how it behaves.
Alternatively, you can use Xcode 11 directly with an iOS 14 simulator. See https://developer.apple.com/videos/play/wwdc2019/418/ starting at minute 12:28 for instructions.
[And the answer is... No, an iOS 13 app running on iOS 14 doesn't have continuous interaction enabled. It behaves like iOS 13.]

Related

React Native: Can you change iOS version for given emulator?

For my React Native app, one user has two devices, both iPhone 11 Pro, but one running iOS 14 and the other iOS 15. They're reporting a bug that occurs on only the iOS 15 one. I know how to get an iPhone 11 Pro emulator running from XCode, but is there a way to specify the iOS version on that emulator?
Yes, this is possible using XCode.
Open the simulator dropdown,
Click on Add additional simulators.
Then, click on the + for adding a new simulator. You can choose the iOS Version as well as the device. You can download old iOS versions as well and set them for the newly created simulator.

Xcode 12 and iOS 15

Is it possible to add somehow iOS 15.0 simulator to Xcode 12.4? (and build & run the project)
I have both xcode 12.4 and xcode 13.
I can't build my project in xcode 13.
I can build it only in xcode 12.4
But I would like to run my project on iOS 15, Is it possible to run?
If Yes, then how can I do it?
Thanks.
No, you cannot have iOS 15 simulator in Xcode 12.4.
You can install it on physical iOS 15 device via TestFlight or by manually dragging the .ipa/product to the phone in Xcode “Devices” window or Finder. But when you do this, you cannot debug it interactively via the Xcode debugger.
Just as a heads-up:
Starting April 2022, all iOS and iPadOS apps submitted to the App Store must be built with Xcode 13 and the iOS 15 SDK.
So, you’ll need to fix your Xcode 13 issue by then. See App Store submissions now open for iOS 15 & iPadOS 15.

Xamarin iOS app uses 750 file handles on iOS 12 simulator, only 250 on iOS 13 simulator

I have a Xamarin iOS app that runs on both the iOS 12 simulator and iOS 13 simulator. I am using Visual Studio Professional to launch a simulator on a paired Mac. The Mac has iOS 12.0 simulators and iOS 13.3 simulators. When I debug my application on the iOS 12 simulator, I quickly run out of file handles after downloading a bunch of files via HttpClient; whereas on iOS 13 I do not.
Running lsof via a Process.Start indicates that there are around 750 file handles open on debugging start on iOS 12, whereas on the iOS 13 simulator there's only 250 file handles. The file handles that appear on iOS 12 and not 13 are these 'iOS 12.0.simruntime' files as seen below:
I am seeing file handle exhaustion in our release application as well on iOS 12 so I believe the issue is not just debugging related. I'm stumped as to why all these files are open on debugging for iOS 12 but not 13.

Today extension work properly on ios 8 but in ios 7 and above

I have added today widget in my app. it shows today notification in app on ios 8 properly.
but when i tried to run my app on ios 7. its not showing notification in today.
as per my research on google my device is not jailbroken.
both the target (app target and extension target) set 7.1.
also when i tried to run extension on ios 8 it run properly.
whenever i tried it on ios 7. cancel run without any error.
I have checked other demo app also. all app work on ios 8 but not on ios 7.
same result for that app also.
appreciate for help
Today extensions are a feature new in iOS 8. They are not supported in iOS 7.
https://developer.apple.com/app-extensions/
App extensions give users access to your app’s functionality and content throughout iOS 8 and OS X Yosemite

Making iOS 6 apps with an iOS 7 beta device

This may seem an odd question but bear with me. I am all excited to try out iOS 7 beta, however I am developing an app that will be complete before iOS 7 comes out to the public.
So can I install iOS 7 on my device, and then develop and publish my app for iOS 6? Or would I need to downgrade to iOS 6 to develop my app and release it in the next few weeks?
I should add I want to do this because I only have one device.
You cannot release an app that has been built, compiled, or created with the pre-release SDKs and Tools. That means you can't release an app built with iOS 7 SDK features in Xcode 5 until Apple gives the green light for submission. (EDIT: iOS 7 is now public, but this will apply to any future betas - including iOS 7.1 and onward).
On the other hand, testing your app on a beta device is OK. It's not a good idea to test your iOS 6 app on iOS 7, but it will work. You can install iOS 7 beta on your device, but first think about your users. You'll want to test your app in the environment that your users will be using it in.
If you do upgrade to iOS 7 on your one and only device, you'll be stuck with the iOS Simulator - which is very very far from recommended. You can't downgrade or restore to an earlier iOS version from iOS 7.
If you are using the beta version of XCode, be sure to set the target to iOS 6, not iOS 7. When you target a version of iOS, that's the minimum version. You can run an app targeted for iOS 6 on iOS 7.
When you target iOS 6, the compiler will prevent you from including features that require iOS 7.
Still, for testing purposes, you'll want to test on a device with the latest released version. iOS 7 may have bug fixes that iOS 6 does not, so your app may run fine on iOS 7 but have bugs when run on iOS 6. Also, there may be performance differences.
You should test on both the simulator and an actual device, however if you want to risk it, the worst that will happen is your app may be rejected.
Theroretically you should not be able to run an app from Xcode 4 on an iOS 7 device. I was able to do this however, but I'm not sure why. Try deploying your app with Xcode 5 and then redeploy it with Xcode 4. In my case Xcode 4 would deploy to an iOS 7 device if the app is already installed (including all profiles).

Resources