일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- rxswift
- IOS
- mac
- window
- 한글
- Xcode
- geofencing
- 개발자
- Realm
- UIButton
- JPA
- SwiftUI
- Firebase
- 이미지
- Archive
- appstore
- Session
- 웹뷰
- Swift
- Git
- Notification
- github
- FLUTTER
- darkmode
- iOS16
- Apple
- Code
- error
- MacOS
- view
- Today
- Total
목록분류 전체보기 (269)
EEYatHo 앱 깎는 이야기

개발자 모드 ( Developer Mode ) iOS 16 및 watchOS 9 에서 새로 추가된 모드 개발자 모드를 켜면, 일반적인 개발자 기능 (WorkFlow) 을 가능하게 함 기본값은 비활성화 재부팅 및 시스템 업데이트 후에도 설정값이 유지됨 WWDC 링크 만든 이유 개발자 기능은 보안이 취약함. 개발자가 아닌 일반적인 유저들을 대상으로 한 해킹 공격에 개발자 기능이 악용되고 있음. 개발자 기능을 사용할 수 있는 개발자 모드를 명시적으로 둠으로써, 대부분의 유저는 강한 보안을 유지. 개발자 모드가 필요한 개발자만, 보안에 취약한 개발자 기능을 사용하게 하기 위함. 개발자 모드가 필요하지 않은 경우 일반적인 배포 흐름에는 개발자 모드가 필요하지 않음. TestFlight 배포 Enterprise 내..

웹 환경에서 아이폰의 앱스토어를 검색할 수 있는 사이트. https://fnd.io/#/ fnd Experience the App Store and iTunes Anywhere fnd.io 좌측상단 국기를 눌러서 국가 선택도 가능. 앱 정보, 스크린샷, 설명 등 상세한 정보를 볼 수 있고, 우측 App Store 버튼으로, 앱 스토어에서 제공하는 미리보기도 볼 수 있다.
DefaultTabController 를 기반으로 탭바를 구현했을 때, 다른 탭으로 가면 기존에 보이던 화면이 dispose (deinit) 된다. 그래서 다시 돌아왔을 때는 initState 부터 시작한다. 이를 방지하기 위해, 다른 탭에가도 dispose 되지 않게 할 수 있다. Solution dispose 되지 않길 바라는 화면의 State 에 AutomaticKeepAliveClientMixin 을 Mixin 하고, wantKeepAlive 를 true 로 override 해준다. // dispose 되지 않길 바라는 화면의 State class _SomeTabState extends State with AutomaticKeepAliveClientMixin { ... // 다른 탭 갔다와도 di..

코틀린 코드 호출 포스팅 Flutter -> Kotlin 전달 static const platform = MethodChannel('channelName'); var result = await platform.invokeMethod('methodName', {'param1': [1, 2], 'param2': "stringParam"}); Kotlin 에서 수신 flutterEngine?.dartExecutor?.let { MethodChannel(it, 'channelName').setMethodCallHandler { call, result -> if (call.method == "methodName") { val param1 = call.argument("param1")?.toIntArray val ..

플러터에서 코틀린에 배열을 전달하게되면, java.uril.ArrayList 로 수신하게 된다. 이를 Kotlin 에서 사용하는 IntArray, LongArray 등으로 바꾸려면 아래처럼 하면 된다. call.argument("IntListName")?.toIntArray()
공식 문서는 비교적 쉽게 따라할 수 있게 작성되어있다. 하지만 따라했는데 작동이 안된다.. 플러터 코틀린 호출 공식 문서 공식 문서가 잘못되서 삽질하면서 수정한 부분을 정리한다. import io.flutter.app.FlutterActivity io.flutter.app.FlutterActivity 는 deprecated 되었다. io.flutter.embedding.android.FlutterActivity 를 사용해야한다. // import io.flutter.app.FlutterActivity import io.flutter.embedding.android.FlutterActivity 이에 따라 registerWith 함수도 다르게 사용해야한다. import io.flutter.plugins.Ge..

맥에서 크롬을 전체화면으로 하면 상단바가 안보일 때가 있다. "상단메뉴 > 보기 > 전체화면에서 툴바 항상 표시" 로 조절할 수 있다. 토글 단축키는 shift + command + f 원하던 결과화면

HapticEngine 으로 진동을 구현했었다. 구현 포스팅 그런데 백그라운드로 갔다가 포그라운드로 돌아온 후, 진동을 켜면 com.apple.CoreHaptics Code=-4805 에러가 발생했다. CHHapticError 정의 를 보니, 엔진이 켜져있지 않다고 한다. Solution HapticEngine 은 앱이 백그라운드 상태로 가면 꺼진다. 따라서 포그라운드 진입시, HapticEngine 을 다시 start 시켜 해결했다. /// in AppDelegate override func applicationWillEnterForeground(_ application: UIApplication) { do { try VibrationManager.shared?.hapticEngine.start() }..