alibaba / alibaba/weex

[iOS] iOS显示报错

Open
#3,339 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.