[iOS] iOS显示报错
Open
- Dominant language
- C++
- Stars
- 18.5k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
UIGraphicsBeginImageContext() failed to allocate CGBitampContext: size={229, 0}, scale=3.000000, bitmapInfo=0x2002. Use UIGraphicsImageRenderer to avoid this assert.
NXN __37-[WXComponent(Display) _displayBlock]_block_invoke
请问这个要怎么解决?
Contributor guide
Research direction
Start at the WXComponent(Display) _displayBlock stack entry and trace the image-context allocation associated with the reported size={229, 0}. Reproduce the iOS assertion if possible and identify why a zero-height context is requested; done means the reported display case no longer triggers the allocation failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100