M2/M3 갭: 라이브러리 그리드 추가일 표시 + iOS Info.plist ATS(NSAllowsLocalNetworking)/NSLocalNetworkUsageDescription

This commit is contained in:
Yun Chan 2026-08-16 11:36:38 +09:00
parent f380518919
commit 0cb16c8830
2 changed files with 11 additions and 1 deletions

View file

@ -218,6 +218,8 @@ public sealed class LibraryPage : ContentPage
name.SetBinding(Label.TextProperty, "FileName"); name.SetBinding(Label.TextProperty, "FileName");
var size = new Label { FontSize = 10, TextColor = Colors.Gray }; var size = new Label { FontSize = 10, TextColor = Colors.Gray };
size.SetBinding(Label.TextProperty, new Binding("SizeBytes", stringFormat: "{0:N0} bytes")); size.SetBinding(Label.TextProperty, new Binding("SizeBytes", stringFormat: "{0:N0} bytes"));
var date = new Label { FontSize = 9, TextColor = Colors.Gray }; // M2: 추가일(수정일)
date.SetBinding(Label.TextProperty, new Binding("Modified", stringFormat: "{0:yy.MM.dd}"));
// U4 폰 저장: 카드 우측 버튼, 진행률을 버튼 텍스트로 표시 // U4 폰 저장: 카드 우측 버튼, 진행률을 버튼 텍스트로 표시
var save = new Button { Text = "💾 저장", FontSize = 12, Padding = new Thickness(10, 4), VerticalOptions = LayoutOptions.Center }; var save = new Button { Text = "💾 저장", FontSize = 12, Padding = new Thickness(10, 4), VerticalOptions = LayoutOptions.Center };
@ -226,7 +228,7 @@ public sealed class LibraryPage : ContentPage
var card = new Frame var card = new Frame
{ {
Margin = new Thickness(6, 4), Padding = 8, CornerRadius = 10, Margin = new Thickness(6, 4), Padding = 8, CornerRadius = 10,
Content = new VerticalStackLayout { Spacing = 4, Children = { thumb, name, size, save } } Content = new VerticalStackLayout { Spacing = 4, Children = { thumb, name, size, date, save } }
}; };
// CollectionView.SelectionChanged 는 Android 에서 발화 불안정 → 템플릿 카드에 탭 제스처 // CollectionView.SelectionChanged 는 Android 에서 발화 불안정 → 템플릿 카드에 탭 제스처
var tap = new TapGestureRecognizer(); var tap = new TapGestureRecognizer();

View file

@ -4,6 +4,14 @@
<dict> <dict>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<!-- M3 키 3종: LAN http 통신 허용(페어링·스트리밍) + 로컬 네트워크 사유 설명 -->
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsLocalNetworking</key>
<true/>
</dict>
<key>NSLocalNetworkUsageDescription</key>
<string>PC 와 같은 네트워크에서 페어링하고 라이브러리를 스트리밍합니다.</string>
<key>NSCameraUsageDescription</key> <key>NSCameraUsageDescription</key>
<string>PC 와 페어링하기 위해 QR 코드를 스캔합니다.</string> <string>PC 와 페어링하기 위해 QR 코드를 스캔합니다.</string>
<key>UIDeviceFamily</key> <key>UIDeviceFamily</key>