Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 내일배움캠프사전캠프
- 독서활동
- 리액트네이티브
- js
- ReactNative
- DB김준기문화재단
- c++헤더
- 환경교육봉사
- 알고리즘
- 코딩공부
- 오늘도코드잇
- DB마이저널
- 혼공단
- GIT
- 혼공단JS
- 스파르타코딩클럽
- 자바스크립트
- DB드림리더장학생
- 티스토리챌린지
- 앱개발부트캠프
- 오블완
- 르탄즈
- 코드잇앰배서더
- 코드잇TIL
- 혼공컴운
- 코드잇
- 내일배움캠프
- 코드잇강의추천
- 르탄즈5기
- 앱개발강의
Archives
- Today
- Total
axnuo
[React Native] Linking - 리액트 네이티브 외부 링크로 이동하는 방법 본문
import { TouchableOpacity, Linking, ActivityIndicator } from 'react-native';
const handleCardPress = (url: string) => {
Linking.openURL(url).catch(err =>
console.error("URL을 여는 중 오류가 발생했습니다:", err)
);
};
<TouchableOpacity key={idx} onPress={() => handleCardPress(imageUrl)}>
요런식으로 사용했는데...
공식문서는
https://reactnative.dev/docs/linking
Linking · React Native
Linking gives you a general interface to interact with both incoming and outgoing app links.
reactnative.dev
요거
... 구체적인 건 언젠가는..
'Project > React Native' 카테고리의 다른 글
[React Native] stackOverflowError, 버전 upgrade (1) | 2025.02.22 |
---|