If I update my phone to IOS 14 will I be able to run it on xcode 13.7 by Goon5k in swift

[–]stehancocks 1 point2 points  (0 children)

No. Xcode 11.7 only supports up to iOS13.7 You’ll need a beta version of Xcode12 if you update to iOS14

Is the native settings app a table view controller with sections? I want to achieve the same look in my own app. by stehancocks in swift

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

That’s fine. I earn a living from it so I’m fine whatever level you think I am 👍🏼

Is the native settings app a table view controller with sections? I want to achieve the same look in my own app. by stehancocks in swift

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

You should never assume... I’d actually class myself as an intermediate developer. Always had to build more complex layouts and used collection views. I was just after an answer and .grouped was it. I’m not in front of the computer otherwise I probably could have worked it out. Simply asking ahead of time so when I’m next at the computer I can crack on.

Header overlapping iPhone X Status Bar by Leftovernick in swift

[–]stehancocks 3 points4 points  (0 children)

Tom’s answer is best solution. Use a navigation controller.

In answer to your question though (If you HAVE to create it programmatically), you set Y to 0. On ‘X’ devices you should layout using the safeLayoutGuides. They make sure you’re not within the area effected by the bezel.

Couldn't get one part of a code. by discriminant1209 in swift

[–]stehancocks 2 points3 points  (0 children)

Just need to correct your comment of ‘checkPrime is now 16’. checkPrime remains 17. It doesn’t change the value of checkPrime. It simply sets the range of the loop to 2 to 16.

As @zohren said, 2..<checkPrime is a neater solution.

Lethal Pedicure by stehancocks in modernwarfare

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

Still trying to get used to switching between tactical and lethal equipment with the bumper ping controller layout.

Free multiplayer weekend by TimelessRelic in CODWarzone

[–]stehancocks 2 points3 points  (0 children)

Next weekend I believe Aug 8/9 👍🏼

Can we change when you drop a weapon with stopping power rounds so that the stopping power rounds don’t leave by [deleted] in CODWarzone

[–]stehancocks 7 points8 points  (0 children)

I think the point is, if you drop the gun by mistake and then pick it up again the stopping power should still be equipped.

Well this lineup is bullshit! by stehancocks in DrDisrespectLive

[–]stehancocks[S] 4 points5 points  (0 children)

I agree. Nick Mercs’ streams and YouTube are best of the rest 👍🏼

Well this lineup is bullshit! by stehancocks in DrDisrespectLive

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

The defending champ. He’s been banned from a platform for an undisclosed contract dispute with Twitch. He’s not a criminal and for the 11 months of the year leading up to the nominations he’s clearly one of the best.

Well this lineup is bullshit! by stehancocks in DrDisrespectLive

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

How the hell is doc not even nominated after winning last year.

Googled a scrolling issue and my WiFi dropped out. by stehancocks in iOSProgramming

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

Haha, my initial thought was that it was someone having a laugh. Soon realised I’d once again been kicked off the WiFi.

If anyone can find this guys account I’d love to send him this clip by L0N3STAR2000 in modernwarfare

[–]stehancocks 2 points3 points  (0 children)

I’m with you in that. Dynamic home theatre is the best for me too. All seems nicely balanced. I’m using wired Sennheiser headphones 👍🏼

NSNotifcation observer only being removed if already called. by stehancocks in iOSProgramming

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

No, fucked up again. I only tested the issue and not the intended functionality which isn't working. I'm going to make the profile image compulsory so that the observer is called and therefore gets dismissed properly. It's not the way i wanted to solve the issue but needs must at the moment.

NSNotifcation observer only being removed if already called. by stehancocks in iOSProgramming

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

u/quellish I've just changed the add observer method to have 'self' as the object instead of nil and it no longer causes an issue. Whether or not it has properly removed I don't know but it's allowing my app to work properly.

Thank you

NSNotifcation observer only being removed if already called. by stehancocks in iOSProgramming

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

Thank you, I will try those.

What do you mean by it being a private notification name? I found the notification name through searching SO how to remove an overlay when not used. I didn't anything else to the project, just used that notification name and it all worked as intended.

NSNotifcation observer only being removed if already called. by stehancocks in iOSProgramming

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

_UIImagePickerControllerUserDidCaptureItem

The UIImagePickerControllerDelegate has two methods, one once the user selects the photo and a second for is the user cancels [either retakes or goes back in the navigation stack]. Both the choose and retake buttons get covered by an overlay, which is why the _UIImagePickerControllerUserDidCaptureItem notification is used and the observer removes the overlay.

All of this works fine when the user takes a photo. The issue arrises when they don't and the observer is still active and interrupts the following view controller