Skip to content

Conversation

@0Hooni
Copy link
Collaborator

@0Hooni 0Hooni commented Dec 2, 2024

🤔 배경

  • 사용자가 Sticker를 동시에 잡는 문제를 방지함

📃 작업 내역

  • 스티커를 동시에 못잡게 View의 설정을 수정함

✅ 리뷰 노트

view의 속성중 isExclusiveTouch를 켜주었습니다. 해당 옵션은 하나의 View가 롱프레스 되고 있다면 다른 View에 액션을 보내지 못하게 하는 속성입니다.

- view를 터치한 채로 다른 탭을 방지함
- 유저가 스티커를 다중으로 잡는 문제를 방지

Co-Authored-By: seuhong <66902876+hsw1920@users.noreply.github.com>
@0Hooni 0Hooni added the 🔧 fix 버그 수정 label Dec 2, 2024
@0Hooni 0Hooni linked an issue Dec 2, 2024 that may be closed by this pull request
1 task
Co-Authored-By: seuhong <66902876+hsw1920@users.noreply.github.com>
@youn9k
Copy link
Member

youn9k commented Dec 2, 2024

https://developer.apple.com/documentation/uikit/uiview/1622453-isexclusivetouch/

Setting this property to true causes the receiver to block the delivery of touch events to other views in the same window. The default value of this property is false.

와 이런 프로퍼티가 있군요..!! 같은 윈도우에 있는 다른 뷰들에게는 터치이벤트를 전송하지 않는다네요 신기합니당ㅎㅎ

Copy link
Member

@Kiyoung-Kim-57 Kiyoung-Kim-57 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hsw1920 hsw1920 merged commit b047499 into develop Dec 3, 2024
1 check passed
@hsw1920 hsw1920 deleted the fix/#164-block-sticker-multi-touch branch December 3, 2024 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔧 fix 버그 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX/#164] 스티커 동시 터치 방지

5 participants