ios16 Questions

2

UIDevice.current.name it's worked if used iOS15, but when I tested on iOS16 (beta3) still return 'iPad' name all the time. See related WWDC 2022 video file https://developer.apple.com/videos/play/...
Chuck asked 14/7, 2022 at 15:46

6

Solved

When I upgrade my Xcode to 14, my app crashed and Get an error message: dyld: Library not loaded: /usr/lib/swift/libswiftCoreGraphics.dylib It's only happen on devices with iOS version below 13,lik...
Plio asked 20/9, 2022 at 7:41

4

I'm attempting to listen for a change in a boolean value & changing the view once it has been heard which it does successfully, however, results in a yellow triangle. I haven't managed to pinpo...
Crochet asked 22/11, 2022 at 23:53

6

Solved

I'm trying to learn more about Apple Passkeys. I use firebase as a backend and it seems like actually integrating it in my site is a hassle without having a custom backend… Are there any solutions ...
Concelebrate asked 18/8, 2022 at 10:52

2

Using Xcode 14.0, iOS 16, Swift 5.7, I get the following deprecation warning due to iOS 16: 'duration' was deprecated in iOS 16.0: Use load(.duration) instead Here is my code: var actualTime: CMT...
Bores asked 25/9, 2022 at 17:36

3

The following code breaks the layout constraints when running on Xcode-14.0.0-Beta 5 with iOS 16.0 struct ContentView: View { @State var date = Date() var body: some View { DatePicker(select...
Fley asked 24/8, 2022 at 14:31

4

Solved

I'm using PDFKit to render a PDF and I have added custom menus using "UIMenuController". But it is now deprecated from iOS 16 onwards. I remove share、lookup menu items with code below: @a...
Doig asked 6/3, 2023 at 3:34

10

I get this error when I run my app on Xcode 14 beta and I don't know how to fix it: Stored properties cannot be marked potentially unavailable with '@available' It doesn't pop up when I run Xcode...
Announce asked 13/7, 2022 at 18:25

6

I just upgraded to Xcode 14.0 and when I run our app on iOS 16 devices, calls to: CLLocationManager.locationServicesEnabled() Are returning the warning: This method can cause UI unresponsiveness if...
Chill asked 21/9, 2022 at 18:9

2

How can we use UIEditMenuInteraction with UITextView to customize menu and add more buttons? Before iOS 16 I was using: UIMenuController.shared.menuItems = [menuItem1, menuItem2, menuItem3]
Septum asked 14/9, 2022 at 7:21

4

I'm trying to test out the new AppIntents API that is currently on iOS16 Beta. Looking at the documentation, the implementation seems pretty straight forward, but after implementing it, I'm not see...
Outer asked 9/6, 2022 at 17:2

3

Im trying to localize the Summary of my new SwiftUI AppIntent on my Swift project for making new Shortcuts. I am not able to localize the Summary. I have created a AppShortcuts.strings with Localiz...
Zanezaneski asked 6/10, 2022 at 9:3

2

Solved

I want that my y-axis always shows a range from 0-60 even though there are data sets that do not represent the full range. E.g. if I'm showing a data set with values of just 10 and 40 the y-axis ra...
Boner asked 26/9, 2022 at 20:12

4

Since installing Xcode 14, I am now getting the following error message printed in my console: NavigationLink presenting a value must appear inside a NavigationContent-based NavigationView. Link w...

1

What is the correct way to combine the mentioned views. As of now, i have a NavigationStack at the bottom of my app. It displays a LaunchView as root. When a user is authenticated, the main view is...
Prostomium asked 10/9, 2022 at 10:39

4

When we use SwiftUI List component and need a section header, top padding will appear on the header of each section. Under iOS15, we use UITableView.appearance().sectionHeaderTopPadding = 0 to solv...
Cammiecammy asked 3/9, 2022 at 13:36

2

For iOS 16, CTCarrier looks to have been deprecated. https://developer.apple.com/documentation/coretelephony/ctcarrier What will be the correct way, going forward, to receive information regarding ...
Rowland asked 8/8, 2022 at 19:50

3

Is it possible to create a pie / donut chart using Apple's new SwiftUI Charts framework? There are images of a pie chart shown in the WWDC videos. Any help or code sample on how to create the pie c...
Strade asked 16/9, 2022 at 9:35

1

Ever since I started using Xcode 14.1, I've been seeing this warning with my asset files Could not get trait set for device iPad14,3 with version 16.1 I've checked the build log file and It doesn...
Orelie asked 15/11, 2022 at 17:40

4

Solved

In my SwiftUI app I've a List with nested ScrollView, since I've updated my iPhone to iOS 16 the refresh on the main List has a strange behavior. It seems that every ScrollView has their own refres...
Elector asked 12/10, 2022 at 13:25

5

I always received this error when I tried to allowed only portrait orientation on my controller: Error Domain=UISceneErrorDomain Code=101 "None of the requested orientations are supported by t...
Anthracene asked 8/9, 2022 at 13:6

3

Using the new SwiftUI Charts framework, we can make a chart bigger than the visible screen and place it into a ScrollView to make it scrollable. Something like this: var body : some View { Geome...
Plata asked 6/11, 2022 at 10:38

1

Description I am trying to adapt my application to the new NavigationStack introduced in IOS 16. I ended up with a strange behaviour when I have a @StateObject variable in one of my views. When I n...
Peng asked 11/11, 2022 at 12:34

4

There's a strange keyboard issue on iOS 16, when pushing new screens. It seems the keyboard safe area is not updated when you come back from the pushed screen. It's even reproducible with this chun...
Springhouse asked 16/9, 2022 at 8:36

2

Here is the sample project source code: sample code import SwiftUI struct TestMenuInSafeAreaInset: View { @State private var message = "" var body: some View { VStack { Rectangle() ...
Grogshop asked 8/10, 2022 at 11:40

© 2022 - 2024 — McMap. All rights reserved.