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?
Post
Replies
Boosts
Views
Activity
What if we want to use outlined/disclosed lists, but we don't want indentation on child cells?
I have tried overriding indentationLevel and indentationWidth on a subclass of UICollectionViewListCell, but it appears that those properties are ultimately ignored.
I keep running into this error when using po
expression produced error: error: Couldn't realize type of self. Try evaluating the expression with -d run-target
It typically seems to happen during breakpoints in tests.
My Build Configuration is Debug as well.
Any ideas?
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?
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.