I know the short answer is, no, you cannot update an older version of your app… but it got me thinking….
could you make a new version of an app that supports older iOS versions and then quickly release another version of the app that supports iOS 16+ only?
Wouldn‘t this effectively allow you to make a new version for for iOS 12 devices and still allow you to have iOS 16+ features that are needed for the current version?
one of my apps needs features found in swiftUI (iOS 16+) but I’d like to update an old version that was not on swiftUI.
Post
Replies
Boosts
Views
Activity
I have an app that I'm trying to add a tvOS version to and have found that the .onPlayPauseCommand Does not work when the app first loads, but will work on subsequent loads of my MainView.
I've made the navigation different on the tvOS version to try and adopt the Siri Remote "menu" button. Which works oddly in my opinion. The way it works on tvOS is more of a back button. Anyhow, here's how I have things implemented...
This is in the main App:
var body: some Scene {
WindowGroup {
NavigationView {
TVSettings()
}
}
}
Then in my TVSettings I have:
NavigationLink(destination: MainView(), isActive: $isShowingMainView) {
Text("Done")
}
In my MainView I have:
.onPlayPauseCommand(perform: {
print("Play/Pause Command")
togglePlay()
})
isShowingMainView is initiated as true so that when the app first loads, it loads the settings view then pushes the main view. The idea was so that hitting menu on the Siri Remote would close the MainView and return to the TVSettings view and exit the app if hit again. This portion works. What does not work is the .onPlayPauseCommand in the main view when the app first opens. IF you hit menu to return to the settings view then hit done to go back to the mainView then .onPlayPauseCommand will fire and work properly.
Is there something I am missing to get it to work on the initial start of the app? Or am I approaching this entirely wrong?
I have an app in the store and I've been reluctant to release an update because of the flickering widget issue.
Anyhow, bit the bullet and installed Xcode 12.2 beta 2 to see if maybe the flickering widget issue was resolved and I found a new possible bug....
If I pin a medium or large sized widget to the screen, when you first see the widget (either returning to the home screen or swiping to the page on the home screen that has the widget) the text shows up as it should, but then some of the text quickly fades away to become invisible. Oddly, the small widget size works just fine. Anyone else seeing this issue? Is it just a simulator bug? Or is this going to show up whenever 14.0.2 goes live???
This widget works fine on 14.0.1 but not on 14.2 (beta)
Wish I could post a link to the video or upload the video to show what I'm talking about. If you search "Sinime iOS widget issue", my video should be near the top and it is 16 seconds long. notice the medium sized widget near the top of the screen and how the center text disappears from it. Also shows a small sized widget, where the text in the center does not disappear.