Posts

Post not yet marked as solved
6 Replies
I'm bumping my old thread with more info. I did a deep dive into the hourly WeatherKit data that is returned. I've been using precipitationAmount to report the snow amout, but there's actually a property returned called snowfallAmount!! And it appears to contain values that are what I have been expecting for snow. WeatherKit.HourWeather(date: 2024-01-09 15:00:00 +0000, cloudCover: 0.98, cloudCoverLow: 0.0, cloudCoverMid: 0.0, cloudCoverHigh: 0.0, condition: Heavy Snow, symbolName: "cloud.snow", dewPoint: -0.44 °C, humidity: 0.96, isDaylight: true, precipitation: snow, precipitationChance: 0.61, precipitationAmount: 2.75 mm, snowfallAmount: 27.16 mm, pressure: 1018.33 mbar, pressureTrend: Falling, temperature: 0.16 °C, apparentTemperature: -4.72 °C, uvIndex: WeatherKit.UVIndex(value: 1, category: Low), visibility: 778.16 m, wind: WeatherKit.Wind(compassDirection: Southeast, direction: 127.0 °, speed: 17.97 km/h, gust: Optional(51.98 km/h))), BUT if you look at the HourWeather in SwiftUI the snowfall amount is missing. You see the precipitation, precipitationChance, and precipitationAmount that are before it in the raw data and the pressure, pressureTrend, etc that follow it. snowFall isn't in an extension, Xcode autocomplete doesn't know about it, doesn't compile, etc. Either this is a major omission or I'm completely misunderstanding something. I filed FB13521886
Post not yet marked as solved
2 Replies
Had the same question and also couldn't find an answer. Try passing an empty string as the dialog. That seems to do the trick.
Post not yet marked as solved
23 Replies
I'm starting to get support emails from users running the iOS 17 beta reporting that they can't retrieve weather forecasts with my app.
Post not yet marked as solved
23 Replies
I am also completely unable to retrieve a forecast in the simulator using Xcode 15 beta 1.
Post not yet marked as solved
33 Replies
This feel this is similar to what is happening to me. Submitted a brand new app and got a rejection based on a design issue. I immediately responded back that the app was already doing what they wanted and it got approved. Later I realized that all of my IAPs and subs were rejected in a "developer action needed" state. It gave me no indication of what action I needed to take so I assumed that they were put in that state because of my design rejection. I made minor changes to the wording so that it would let me submit them again. I resubmitted the IAP and subs. My IAPs got approved almost immediately. I did have one submission problem. For the subscription "App Store Localization" I kept getting an error when I tried to submit them. It wasn't until hours later that I was able to submit them without an error message. My subs are "in review" and my subscription "App Store Localization" are "waiting for review" for days. I don't know if one (or any) of these is happening: It's a problem with App Store Connect that Apple needs to look at It's on hold for a (USA) holiday weekend The subs are really still being reviewed. I just have a 3 month sub and a 1 year sub. Nothing fancy. Status App - approved consumable IAP - approved subscriptions - in review subscription "App Store Localization" - waiting for review
Post marked as Apple Recommended
Happening to me on iPadOS 16.3. Just went and tried on my iPhone running the latest iOS and I get the same problem.
Post not yet marked as solved
6 Replies
Thanks for that. Very interesting. I wonder if there's a way then that I could produce an hourly precipitation graph for snow that would have similar values to what the iOS weather app shows.
Post not yet marked as solved
26 Replies
Mine wasn't rejected and I've made several updates already also.
Post not yet marked as solved
3 Replies
My app language is set to system language. I switch between that and German.
Post not yet marked as solved
26 Replies
Found an interesting blog post about this. https://www.donnywals.com/xcode-14-publishing-changes-from-within-view-updates-is-not-allowed-this-will-cause-undefined-behavior/
Post not yet marked as solved
3 Replies
I have now tested on an iPhone running iOS 16 beta 8 using Xcode 14 beta 6. The problem is still happening. The app name is populated correctly in the shortcut in the Shortcuts app. I can use the phrase with the app name when I ask Siri to run the new shortcut. SiriTipView still shows ${APPLICATIONNAME} in my phrase.
Post not yet marked as solved
26 Replies
That's my scenario also (sheet).
Post not yet marked as solved
8 Replies
I just stumbled across this question. I know this is an old thread, but I know the answer for AppStorage. AppStorage is just a more convenient way of writing to UserDefaults. When you're not in a View just use the standard functions for dealing with UserDefaults (UserDefaults.standard.value, UserDefaults.standard.string, etc). I know this works because when I rewrote my app's UI in SwiftUI I had my Views use AppStorage but my underlying, non-view code I left untouched that was using UserDefaults.standard and it continued to work. Just make sure to use the same name in both places.
Post marked as solved
20 Replies
This problem finally stopped happening for me with the RC of Xcode and iOS 15.
Post marked as solved
20 Replies
I tried to get a WWDC lab about this issue but the request was rejected.