CAShapeLayer+UIBezierPath๋ก ๋ค์ ํจ๊ณผ๋ฅผ ๊ตฌํํ๋ ค๊ณ ํฉ๋๋ค.
๊ทธ๋ฌ๋ createAndRegisterViewWithReactTag:viewName:props:
-> RCT_REMAP_VIEW_PROPERTY(borderRadius, layer.cornerRadius, CGFloat)
๋ view/layer bounds.size ๋ 0์
๋๋ค. ๋ง์ง๋ง์ผ๋ก RCTView์ reactBridgeDidFinishTransaction
๋ฅผ ์ฐ๊ฒฐํ์ฌ ํ
๋๋ฆฌ ๋ฐ๊ฒฝ์ ์ถ๊ฐํฉ๋๋ค...
RCTView์ ์ผ์ชฝ ํ๋จ ๋ฐ ์ค๋ฅธ์ชฝ ํ๋จ ๋ชจ์๋ฆฌ์๋ง borderRadius๋ฅผ ์ค์ ํ๋ ๋ ์ข์ ๋ฐฉ๋ฒ ์ด ์์ต๋๊น?
๋ํ ๋ค ๋ชจ์๋ฆฌ๊ฐ ์๋ ๊ฐ๋ณ ๋ชจ์๋ฆฌ ํ ๋๋ฆฌ ๋ฐ๊ฒฝ์ ์ง์ ํ๋ ๋ฐฉ๋ฒ๋ ๊ถ๊ธํฉ๋๋ค. ๊ฐ์ฌ ํด์!
์ด๊ฒ์ ์ด์ borderBottomLeftRadius
๋ฑ์ผ๋ก ๊ฐ๋ฅํฉ๋๋ค :smile:
์๋ํ ์ํ!
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์ด๊ฒ์ ์ด์
borderBottomLeftRadius
๋ฑ์ผ๋ก ๊ฐ๋ฅํฉ๋๋ค :smile: