Post

Replies

Boosts

Views

Activity

SwiftUI Splitview: persist view positions
I am creating a SwiftUI 2 app with a HSplitView. The SplitView has several subviews (sidebar - main view - detail view). The user may resize the individual views with the normal split view behavior (dragging the divider bar). I want to persist the user's last used view sizes, so that when the user closes the app and comes back later, the same view layout (view sizes inside the splitview) is presented. How can/should this be achieved? Thanks for your help.
1
0
1.1k
Mar ’22
Provisioning profile process - lacking "do you need additional entitlements" step
The good news: my request for privileged-file-operations entitlements has been approved by Apple. The bad: I cannot find the "Do you need additional entitlements?” page. Explanation: on approval, Apple sent an email with instructions. The first step is to generate a provisioning profile: To use this special entitlement you must create a new provisioning profile in the Certificates, Identifiers & Profiles section of your developer account and select the entitlement after the “Do you need additional entitlements?” page. However, I never get presented the "Do you need additional entitlements" question(!) What I did: log in at developer account go to section "Certificates, Identifiers & Profiles" click "generate a profile" (I had no previous profiles, I am still in development) choose "macOS App Development" select the appropriate Profile Type (mac) App id (myAppID) select (all) my development certificate select (all) my devices enter a Provisioning Profile Name In the last step I only get the option to "Generate" the profile. I would expect the question "Do you need additional entitlements?" first though. Please note that I am new to this. I have not have previous experience with provisioning profiles as I have not published an app before. Please be specific in a solution on how to if this. I would prefer to be pointed to some "step by step" instruction if possible. Help is much appreciated! PS: I have also tried several other options available in the provisioning section, to no avail (and there are way too many permutations possible to figure out which needle in the haystack I am supposed to find). I read the instructions apple points to, but these all deal with issues *after* having concluded the first step.
6
0
7.4k
Feb ’21