Post

Replies

Boosts

Views

Activity

Reply to Saving images in array in the same order in which it is selected using PHPickerViewController
All we have to work with is the PHPickerViewControllerDelegate, which gives us the single method: • picker(_:didFinishPicking:) This passes us: • results: [PHPickerResult] ...and we can look at this, to get an array of NSItemProvider, then get our images. However, there is no information on what order was used, when picking the items. So what you want to achieve is not possible with PHPickerViewController. You would have to create your own (more advanced version of) PHPickerViewController.
Topic: Media Technologies SubTopic: General Tags:
Oct ’21
Reply to The new iPad Mini (6th generation) introduces a new, smaller(!), screen size?
And here (finally?) is Apple's statement on the need to recompile full-screen apps for the iPad Mini 6: ...if you’ve added UIRequiresFullScreen=YES to your app’s Info.plist in order to keep your app full screen during multitasking, you’ll need to recompile with Xcode 13 and the SDK for iPadOS 15 to take advantage of the full screen size See https://developer.apple.com/news/?id=oefg5bhp&1632770922 Otherwise, your "full-screen" app will be displayed with black bars. So the answer to my original question... Do I really have to go back to my apps, and add scrolling, or trim the content? For full-screen apps: Recompile with Xcode 13 and the SDK for iPadOS 15 Resubmit to the App Store
Oct ’21
Reply to Bypass battery on MacBook Pro 13 inch with retina
@syedtarq As a retired FireFighter, I strongly reccommend that you deal with your swollen battery as soon as possible! It is a fire risk, and will continue to be a fire risk, whatever you do with it. Please dispose of it in a safe way (e.g. take it to a specialised recycling center), as soon as possible. No kidding. Safety first. Once you have a laptop with no battery in it, then look at your options.
Topic: App & System Services SubTopic: Hardware Tags:
Oct ’21
Reply to Picker Label not showing anymore
I see two separate issues here. Firstly, the display of Picker labels, and Pickers themselves, is platform-specific. This code will behave differently on iOS and macOS. (Hint tag your questions, to make the Platform clear to helpers!) On iOS, the label, which is Text("Select Favorite Fruit"), will not show. On macOS, it will. But is that what @RadApps is asking about? Or do they mean... An obscure UI bug, where, after using the Picker to select, the selected item does not show correctly. I can reproduce this. It is fixable by adding some content above the Picker... ...or even by adding some padding to the top of the Picker, like this: struct ExampleView: View { var fruits = ["Banana","Apple", "Peach", "Watermelon", "Grapes" ] @State private var selectedFruit = 0 var body: some View { VStack { Picker("Select Favorite Fruit", selection: $selectedFruit) { ForEach(0..<fruits.count) { Text(self.fruits[$0]) .padding() } } .padding(.top, 20) /// Workaround for obscure UI issue .pickerStyle(MenuPickerStyle()) Text("Your Favorite Fruit: \(self.fruits[selectedFruit])") } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’21
Reply to How to replace build in TestFlight for Production Release
The "version" number and the "build" number are two separate things. You can submit a new build with the same version number (3.4.0), as long as you increase the "build" number (which is usually a single integer). I always expire old builds, but that is just my preference, it is not a requirement. It is possible to have multiple builds with the same version number, and different build numbers, and these can all be available on TestFlight. Then you just choose the build you want, for Production.
Oct ’21
Reply to How to unpulish the Mac version of an iOS app?
When you hover the mouse over the macOS-App "1.0 Bereit zum Verkauf", do you see a red "-" (delete) button? From https://help.apple.com/app-store-connect/en.lproj/static.html You can delete a platform if a build has never been uploaded for the platform you wish to delete. Additionally, at least one existing platform version needs to be in an editable app status. See App statuses. If the criteria is met, hover over the platform you wish to delete and click the delete button (–) that appears to the right of the platform. This is slightly confusing, but it works... There must be an editable version for another platform, for the delete button to show up. Like this (1.3.11 for iOS is editable, so I can delete the macOS version): Then the macOS version can be deleted.
Oct ’21