Post

Replies

Boosts

Views

Activity

Inconsistencies from the session
I ran into three and a half separate issues while following this code along. The first is that the spicy label had a vertical alignment issue between the text and the symbol. Apparently this is a known issue - https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-14-beta-release-notes: A Label used with a symbol image might appear misaligned. (60193698) 2. The second was that the toolbar instructions, as described in the video, did not add items to the navigation bar, but instead created a toolbar at the bottom of the screen. This has a workaround from this answer - https://developer.apple.com/forums/thread/650301?answerId=614403022#614403022, but the "half problem" is that with the workaround, the add button only temporarily appears before disappearing upon scene render. This happens on both Catalina and Big Sur. 3. I tried to build a Mac version, but it ended up with a window that won't enlarge beyond a size roughly twice as tall as just the titlebar, and maybe 300 points wide. The macOS preview within Xcode was also quite botched. I'm not certain if these are my fault (I don't think any of them are) or if they are just prerelease issues. Any insight would be wonderful. As a side note, these visual descriptions are flaky at best. We really should have a way to attach images, videos, or even just misc files here.
1
0
786
Jun ’20
NSParagraphStyle headerLevel on iOS
I am working with NSAttributedStrings and need to be able to detect header levels from enumerated ranges. I found that NSParagraphStyle will print out the header level, when logging. Header levels are also maintained when you start with html input, edit as an attributed string, then convert back to html. However, there is no property for the headerLevel, despite documentation having it (upon closer inspection, I noticed that documentation says it's only available in macOS). Why is this hidden on iOS? This works: paragraphStyle.value(forKey: "headerLevel") But will that count as using private Apple APIs and get barred from App Store submissions?
0
0
676
Sep ’20
HLS Video in Simulator getting `segPumpRequestCustomURLForCryptKey` crash:
I have some HLS videos that are encrypted with a key for streaming playback in my app. So far, my testing indicates that they work on device all the way through, but only in the simulator up to iOS 14.5. In iOS 15 simulators, I get a crash that appears to be within private APIs with this copied from the stack: #0 0x0000000110584e8c in segPumpRequestCustomURLForCryptKey () Is anyone else getting this crash?
7
1
3k
Nov ’21