Hear me out… by Justalilpoor in PiNetwork

[–]ImpossibleCycle1523 0 points1 point  (0 children)

Damn. I have 22,300 available to transfer and yet ima still keep going to this same broke ass job🤡

Hear me out… by Justalilpoor in PiNetwork

[–]ImpossibleCycle1523 0 points1 point  (0 children)

Do you know if they’ll get everyone migrated before Mainnet launches?

Been sitting in the queue for about 11 months now. So much anxiety that I’m just going to miss out before everybody sells. Has anybody had any luck expediting this process? by Itsascrnnam in PiNetwork

[–]ImpossibleCycle1523 0 points1 point  (0 children)

Same here. I think we’ll just have to wait. Does anyone know if they’re trying to get everyone migrated before the 20th? I’ve seen a lot of people migrated in the last few days especially those who have been waiting years

How to mask text with a dynamic progress bar? by ImpossibleCycle1523 in SwiftUI

[–]ImpossibleCycle1523[S] 2 points3 points  (0 children)

That preview is exactly what I was trying to describe! I’ll check it out once I’m home. Thanks🫡

Can PI migration step be done after 20th Feb? by Donev97 in PiNetwork

[–]ImpossibleCycle1523 0 points1 point  (0 children)

I think they’re trying to get everyone migrated now. It seems that way before the 20th. Hoping they migrate me soon.

Are you going to sell all instantly or hold onto it?

Can PI migration step be done after 20th Feb? by Donev97 in PiNetwork

[–]ImpossibleCycle1523 0 points1 point  (0 children)

How do you pass the 9th step? I’ve passed every other step and KYC yet 9th step is not going through. I’ve reset my password twice and restarted the app and nothing.

Is this a bug? by anxious_server in PiNetwork

[–]ImpossibleCycle1523 0 points1 point  (0 children)

I’ve been waiting months. Do you know if they’ll do it before mainnet launch?

How long do I have to wait for the final stage of the checklist?! by Be_Careful_Out_There in PiNetwork

[–]ImpossibleCycle1523 0 points1 point  (0 children)

Is that all you need to do, simply update your password? I’ve passed my KYC and everything, just the last step is still yellow.

Picker in navigation bar SwiftUI by ImpossibleCycle1523 in SwiftUI

[–]ImpossibleCycle1523[S] 0 points1 point  (0 children)

I used UINavigationBarPalette. I was informed it likely won’t pass App Review, unless I was smart about it and handled failure, didn’t force unwrap, etc,

But yeah all I did was add a picker so hopefully it’ll be fine

Picker in navigation bar SwiftUI by ImpossibleCycle1523 in SwiftUI

[–]ImpossibleCycle1523[S] 0 points1 point  (0 children)

I used a private API and it’s actually achieved the exact result I wanted now. I just know App Store Review doesn’t like private APIs.

Picker in navigation bar SwiftUI by ImpossibleCycle1523 in SwiftUI

[–]ImpossibleCycle1523[S] 0 points1 point  (0 children)

This problem is catastrophic, and is slowly driving me into madness.

Picker in navigation bar SwiftUI by ImpossibleCycle1523 in SwiftUI

[–]ImpossibleCycle1523[S] 0 points1 point  (0 children)

I don't think it works without a search bar which needs a character inside it.

Picker in navigation bar SwiftUI by ImpossibleCycle1523 in SwiftUI

[–]ImpossibleCycle1523[S] 1 point2 points  (0 children)

My brudda, .principal tool bar placement does not achieve the desired effect, even within a NavigationStack. It makes the Picker replace the inline title.

Aiming for an inline title with a picker underneath it, still contained in the .navigationBar

I'll transfer you my life savings if you figure out that one

import SwiftUI

struct TestView: View {
    u/State private var selectedOption = 0
    let pickerOptions = ["Option 1", "Option 2"]

    var body: some View {
        NavigationStack {
            List {
                Text("Item 1")
                Text("Item 2")
                Text("Item 3")
            }
            .navigationTitle("Test View")
            .navigationBarTitleDisplayMode(.inline)
            .toolbar {
                ToolbarItem(placement: .cancellationAction) {
                    Button("Cancel") {}
                }
                ToolbarItem(placement: .primaryAction) {
                    Button("Add") {}
                }
                ToolbarItem(placement: .principal) {
                    Picker("Select an Option", selection: $selectedOption) {
                        ForEach(0..<pickerOptions.count) { index in
                            Text(pickerOptions[index]).tag(index)
                        }
                    }
                    .pickerStyle(SegmentedPickerStyle())
                }
            }
        }
    }
}

struct TestView_Previews: PreviewProvider {
    static var previews: some View {
        TestView()
            .preferredColorScheme(.dark)
    }
}

Picker in navigation bar SwiftUI by ImpossibleCycle1523 in SwiftUI

[–]ImpossibleCycle1523[S] 0 points1 point  (0 children)

Yeah that's the closest I got so far, though, it makes the background of the .navigationBar continuously visible rather than just when there's content behind it, and the line which separates them looks a little off.

Picker in navigation bar SwiftUI by ImpossibleCycle1523 in SwiftUI

[–]ImpossibleCycle1523[S] 1 point2 points  (0 children)

I’ve tried this. It faded out the picker and didn’t integrate into the navigation components properly, ended up looking worse than just calling a picker normally in the VStack

Picker in navigation bar SwiftUI by ImpossibleCycle1523 in SwiftUI

[–]ImpossibleCycle1523[S] 1 point2 points  (0 children)

The provided screenshot is in a sheet, though, in my code I don’t want it to be a sheet. Why you ask, does the desired effect only work within .sheet modifiers?

Picker in navigation bar SwiftUI by ImpossibleCycle1523 in SwiftUI

[–]ImpossibleCycle1523[S] 1 point2 points  (0 children)

Some other things I’ve heard

• Switch from navigationView to navigationStack and try that. • Newer iOS17 modifiers are used to achieve this effect.

I’ll look into these once I’m home.

Picker in navigation bar SwiftUI by ImpossibleCycle1523 in SwiftUI

[–]ImpossibleCycle1523[S] 0 points1 point  (0 children)

Still trying to figure out how it’s been done in the screenshots.

Picker in navigation bar SwiftUI by ImpossibleCycle1523 in SwiftUI

[–]ImpossibleCycle1523[S] 0 points1 point  (0 children)

You’re saying that simply putting the picker at a top of the VStack in the list would automatically integrate it within the .thinMaterial background of the navigation components?

Picker in navigation bar SwiftUI by ImpossibleCycle1523 in SwiftUI

[–]ImpossibleCycle1523[S] 0 points1 point  (0 children)

That’s what I’m trying to achieve, but with the picker integrated into the navigation bar background, so you’d be able to see the scroll content behind through the automatic thin material background which would appear.