iOS Question Application exit from iOS 18?

Filippo

Expert
Licensed User
Longtime User
Hi,

I have seen (by chance) that from iOS 18 it is possible to close an app by pressing a button.
How can this be realized with B4i.

Here is an example:

1731954351582.png
 

Alexander Stolte

Expert
Licensed User
Longtime User
but is added when you define the application as a multitasking application
Source: https://www.hackingwithswift.com/read/31/5/ipad-multitasking
Steps:
"To make multitasking work, you need to:
  1. Have a launch XIB. This is the same thing that enables iPhone 6 support with iOS 8, and has been created for new projects ever since iOS 8 was released, so you probably already have one. If not, add a new file, choose User Interface, then Launch Screen. Then, in your plist, add a key for "Launch screen interface file base name" and point it to the name of your launch XIB, without the ".xib" extension. For example, if your launch screen is called LaunchScreen.xib, give this key the value of "LaunchScreen".
  2. Make sure your app is configured to support all orientations. This may already be configured this way, but if not make sure you choose all orientations now. As you might imagine, selectively choosing only some orientations would cause havoc with multitasking!
  3. Use Auto Layout everywhere. If your app pre-dates Auto Layout or if you found it intimidating at first, you might still be struggling along with autoresizing masks. Now is the time to change: the various multitasking sizes make Auto Layout a no-brainer.
  4. Use adaptive UI wherever needed. Adaptive layout is Apple's term for technologies like Size Classes and Dynamic Type, the former of which is a huge advantage when working with multitasking. Size Classes let you make your interface adjust to two major screen sizes, compact and regular, which previously were great for working with iPhone and iPad, but are now also used for iPad multitasking."
The best thing to do is to install a B4I app on your iPad and see if it can be used with multi tasking
 
Upvote 0
Top