Post

Replies

Boosts

Views

Activity

Trader compliance..."I don't plan to distribute in the EU"
I looked at setting up the trader compliance stuff today and it looks like the "NO" answer has been modified to include "... or I don't plan to distribute in the EU". Does this mean I can select that and still distribute paid apps elsewhere in the world? If I pick that, will it automatically update my availability selections on each app to exclude the EU? Regards, Patrick
2
0
363
Aug ’24
Xcode 15 forcing app id prefix to be team id
I'm submitting an update to an app which was originally submitted in 2008. So, it has one of the "old" app id prefixes, not the Team ID prefix used by newer apps. When I try to validate this app built in Xcode 15 in organizer, I get a warning that the app id prefix in the current store app is changing from the "old" prefix to the new Team ID prefix. I didn't change anything. The App Identifier, Certificates, and Profile are the same that I used last June under Xcode 14. So, there seems to be an issue with Xcode 15. Same issue under 15.0 and 15.2. Anyone know a fix for this? This still works fine in Xcode 14. If I can't come up with a fix, I'll just submit with 14 as that's still valid until April 2024 I think. Regards, Patrick
5
0
1.7k
Jan ’24
Safe to update SKSpriteNode's texture on background thread?
I understand UI updates have to be on the main thread, but what about SKSpriteNode's texture? Can I update that in the background? I can update it in the background and it works like I want it to. No crashes, warnings, etc. I did verify that the thread is not the main thread via [NSThread isMainThread]. I have since wrapped the texture change in a dispatch_sync on the main queue and it works the same as without it. Regards, Patrick
0
0
834
May ’23
How to programmatically access font style on UILabel?
Hi, In an iOS app, I have a Storyboard View Controller with a UILabel on it where I set the font style to Body/Heading/whatever with dynamic fonts. This all works fine. However, is there a way in the VC code to extract that font style? I've looked at the associated font and font descriptor for the UILabel but don't see an obvious attribute for it. Any idea how to see it? I would prefer not to hardcode it and extract it from the UILabel instead. I need it as I will be modifying portions of the text (bold, etc.). Regards, Patrick
0
0
1.1k
Aug ’22
Using auto layout to push control down if label extends beyond a certain point
Hi, Everybody loving the new "forums"? I have very little expectation that anyone will actually see this question. Okay, so I have a table cell with two objects, a label and a segmented control. Label is pinned to the left margin of the cell and the segmented control is pinned to the right margin of the cell. These two objects are normally on the same "line" (their verticals centers line up basically). Under some circumstances, because of either the length of text in the label and/or the width of the device (iPhone 5s, for example), the label will overlap onto the segmented control. I want the text to be all on one line. I don't want to wrap it. I would like the segmented control to be pushed down below the label (still pinned to the right) when this happens. First, can auto layout do this? If yes, how? Seems like I need multiple conditions on a constraint to do this, but I can't figure out how to do it and have not found an example that's similar to this. Any help would be appreciated! Regards, Patrick
2
0
1.1k
Aug ’20