inflearn logo
강의

講義

知識共有

iOS AutoLayoutを活用した本番UI構成戦略 - カカオトークのような高度なUIを作成

basic12_align

버튼에 이미지 추가?

250

Seung Yoon Lee

投稿した質問数 1

0

i'm sorry that i can only type in English because I am in the states.:((

Since what you are doing is to simpully put an image on top of a button, are there any other better ways to incorporate the image to the button while still maintaining the gesturerecognizer of the button? From my experience if there were any taps on the image part of the button the tap would not trigger the function specified from the gesture recognizer code. you can reply to me using korean and I would understand. Thank you!

iOS-Autolayout

回答 1

0

enilv0529

안녕하세요.

버튼위에 이미지를 올려 놓으면 이미지 interactionEnable을 false로 하면 아래에 있는 버튼이 눌리게 됩니다.

또는 버튼 뒤로 이미지를 두고 버튼을 투명으로 하는것도 좋을 것 같네요.

수강연장부탁드려도될까요..

0

42

2

Drawing Cycle 관련 질문

0

72

1

앱 제작 시 주로 코드로 작성하시는 이유가 있을까요?

0

95

2

델리게이트 패턴 관련 질문

0

66

2

수강 기간 연장 부탁드릴 수 있을까요?

0

61

1

활용 앱 57강 질문입니다.

0

55

1

활용 앱 30강 에러 질문입니다

0

64

2

기초앱 17강 Contraints 설정 질문입니다.

0

67

2

오토레이아웃 equal widths, equal heights

0

470

1

마우스 드래그 다중선택

0

957

1

테이블 뷰 응용 소스

0

254

0

선생님 제가 오랫동안 강의를 못듣다가 다시 들을건데 새버젼으로 들어야하나요?

0

194

0

강의 자료 링크가 열리지 않아요.

0

328

2

modalPresentationStyle 질문

0

401

2

안녕하세요.

0

251

1

objective c 는 방식이 달라서 따라하는데 시간좀 걸렸네요

0

228

1

viewController modalPresentationStyle 질문

0

237

1

stack view 사용시 view layer depth 에 대해 질문 있습니다.

0

365

1

이미지 활용한 애니메이션

0

283

1

다운

0

268

1

질문있습니다.

0

240

1

kakao-2-tableView_default 강의 진행중에 질문있습니다

0

297

5

popup.png 이미지가 뜨지않아요 ㅠ

0

309

1

설정 관련 질문입니다.

0

233

0