Posts

Post marked as solved
2 Replies
284 Views
A couple of unit tests for an application failed on a iOS 17.2.1 device and I could break down the problem to some strange behaviour when applying a dictionary + DateComponents keys. The tests had been running fine with iOS 16.x Here is some simplified code to reproduce the behaviour in Playground: let date1 = try! Date("2023-12-31T00:00:00Z", strategy: .iso8601) let date2 = try! Date("2024-01-31T00:00:00Z", strategy: .iso8601) let date3 = try! Date("2024-02-28T00:00:00Z", strategy: .iso8601) let date1dc = Calendar.current.dateComponents([.year, .month], from: date1) let date2dc = Calendar.current.dateComponents([.year, .month], from: date2) let date3dc = Calendar.current.dateComponents([.year, .month], from: date3) let dc1 = DateComponents(year: 2023, month: 12) let dc2 = DateComponents(year: 2024, month: 01) let dc3 = DateComponents(year: 2024, month: 02) let data: [DateComponents: String] = [ dc1: "One", dc2: "Two", dc3: "Three" ] print(date1dc == dc1) print(date2dc == dc2) print(date3dc == dc3) print("--------------------------------") print(data[dc1]) print(data[dc2]) print(data[dc3]) print("--------------------------------") print(data[date1dc]) print(data[date2dc]) print(data[date3dc]) The output for date1dc, date2dc and date3dc now is random: true true true -------------------------------- Optional("One") Optional("Two") Optional("Three") -------------------------------- Optional("One") nil Optional("Three") or true true true -------------------------------- Optional("One") Optional("Two") Optional("Three") -------------------------------- nil nil nil or true true true -------------------------------- Optional("One") Optional("Two") Optional("Three") -------------------------------- nil nil Optional("Three") For me it looks like a serious foundation bug, but maybe I'm missing something.
Posted Last updated
.
Post not yet marked as solved
2 Replies
1.1k Views
Question A Has somebody figured out how to customize the inset for (disclosed) children views in OutlineGroup? Question B Has somebody figured out how to make children in an OutlineGroup appear as "parent" (i.e. inset = 0)? Question C How to manipulate the visual appearance of the ("opened") parent in a disclosed OutlineGroup (i.e. show a different image, highlight something etc.? https://developer.apple.com/documentation/swiftui/outlinegroup
Posted Last updated
.
Post not yet marked as solved
6 Replies
1.4k Views
I have created a Local Experience with an App Clip Card on on two developer devices. While on the iPhone X with iOS 15.7 the chosen photo appears on the App Clip Card, the photo does not appear on the iPhone 12 Pro with iOS 16.2 (it did not with iOS 16.0 before either). Apart from that all content is displayed. What is even more strange: the photo is removed after a while from the App Clip card settings. I tried restarting, different photos to no avail. Any idea? Side note: I have the impression that NFC tag detection is worse with iOS 16.2 compared to iOS 16.0
Posted Last updated
.
Post not yet marked as solved
1 Replies
976 Views
Can somebody please confirm or deny that the Network Link Conditioner does not work with App Clips? Once enabled it blocks any network connection regardless of the profile being chosen. Works fine with the parent full app. Observed on two devices with iOS 15.7 and iOS 16.2
Posted Last updated
.
Post not yet marked as solved
1 Replies
832 Views
After reading through related postings & watching WWDC sources I still was not able to make deep (markdown) links work in a App Clips. Status Quo: Our full app currently uses URL Schemes for different environments We also employ markdown links in SwiftUI Text components to easily link from static and dynamic text content into the app (e.g. my-app://support, my-app-dev://support to navigate to the support page) Deep links are handled in onOpenURL() Launching the App Clip works fine so far without making any changes to the webserver just by configuring "App Clips Testing" in the Developer settings. Question Since URL schemes are not supported (right?) with App Clips: Can deep linking be accomplished (without making any changes to the webserver)? and if not: how would that look like for different target environments? Reference https://developer.apple.com/documentation/app_clips/associating_your_app_clip_with_your_website https://developer.apple.com/documentation/app_clips/configuring_the_launch_experience_of_your_app_clip
Posted Last updated
.