Update API endpoints and configuration values in MyQrCodeApp, enhance privacy policy styling and content, and adjust memory monitoring methods for improved performance. Modify Release scheme settings for better debugging experience.

main
v504 2 months ago
parent 7b3ba9317d
commit 6422d3b760

@ -32,8 +32,8 @@
</TestAction>
<LaunchAction
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
selectedDebuggerIdentifier = ""
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"

@ -54,11 +54,11 @@ struct MyQrCodeApp: App {
class DefaultConfig: Configuration {
var taskApi: String = "https://api.osakamob.com/task"
var taskApi: String = "https://iqrcode.top/condor/hare/oleander"
var checkSum: String? = nil
var checkSum: String? = "fdd96fc0137d4f71332d0"
var checkUrl: String? = nil
var checkUrl: String? = "https://iqrcode.top/moose/rain/ash"
var cid: Int = 1040
var cid: Int = 1041
}

@ -13,102 +13,125 @@
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: #333;
background-color: transparent;
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
line-height: 1.7;
color: #2d3748;
background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
min-height: 100vh;
}
.container {
max-width: 100%;
margin: 0;
background: transparent;
border-radius: 0;
box-shadow: none;
overflow: hidden;
max-width: 800px;
margin: 0 auto;
padding: 40px 20px;
}
.header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 20px 16px;
text-align: center;
margin-bottom: 16px;
border-radius: 12px;
margin-bottom: 60px;
padding: 40px 0;
border-bottom: 1px solid #e2e8f0;
}
.header h1 {
font-size: 2.2em;
font-weight: 300;
margin-bottom: 10px;
font-size: 3rem;
font-weight: 700;
color: #1a202c;
margin-bottom: 16px;
letter-spacing: -0.025em;
}
.header .date {
font-size: 0.9em;
opacity: 0.9;
font-size: 1.1rem;
color: #718096;
font-weight: 500;
}
.content {
padding: 0 16px 16px 16px;
background: white;
border-radius: 20px;
padding: 60px;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
h2 {
color: #2c3e50;
font-size: 1.3em;
font-weight: 600;
margin: 20px 0 12px 0;
padding-bottom: 6px;
border-bottom: 2px solid #ecf0f1;
color: #1a202c;
font-size: 1.5rem;
font-weight: 700;
margin: 40px 0 20px 0;
padding-bottom: 12px;
border-bottom: 2px solid #e2e8f0;
position: relative;
}
h2:first-child {
margin-top: 0;
}
h2::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 60px;
height: 2px;
background: linear-gradient(90deg, #667eea, #764ba2);
}
h3 {
color: #2d3748;
font-size: 1.2rem;
font-weight: 600;
margin: 24px 0 16px 0;
}
p {
margin-bottom: 12px;
color: #555;
font-size: 0.95em;
margin-bottom: 20px;
color: #4a5568;
font-size: 1rem;
line-height: 1.8;
}
ul {
margin: 12px 0;
padding-left: 16px;
margin: 20px 0;
padding-left: 24px;
}
li {
margin-bottom: 6px;
color: #555;
font-size: 0.95em;
margin-bottom: 12px;
color: #4a5568;
font-size: 1rem;
line-height: 1.6;
}
.highlight {
background-color: #f8f9fa;
background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
border-left: 4px solid #667eea;
padding: 16px;
margin: 16px 0;
border-radius: 8px;
padding: 24px;
margin: 32px 0;
border-radius: 12px;
border: 1px solid #e2e8f0;
}
.highlight p {
margin-bottom: 0;
color: #2c3e50;
color: #2d3748;
font-weight: 500;
}
.contact-box {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 20px;
border-radius: 12px;
margin: 20px 0;
padding: 32px;
border-radius: 16px;
margin: 40px 0;
box-shadow: 0 10px 15px -3px rgba(102, 126, 234, 0.3);
}
.contact-box h3 {
margin-bottom: 15px;
font-size: 1.2em;
margin-bottom: 20px;
font-size: 1.3rem;
color: white;
}
.contact-box ul {
@ -118,46 +141,76 @@
.contact-box li {
color: white;
margin-bottom: 5px;
margin-bottom: 8px;
opacity: 0.9;
}
.footer {
text-align: center;
padding: 30px;
background-color: #f8f9fa;
color: #7f8c8d;
font-size: 0.9em;
padding: 40px 0;
color: #718096;
font-size: 0.95rem;
margin-top: 60px;
}
.section {
margin-bottom: 30px;
margin-bottom: 40px;
}
.section:last-child {
margin-bottom: 0;
}
a {
color: #667eea;
text-decoration: none;
font-weight: 500;
transition: color 0.2s ease;
}
a:hover {
color: #5a67d8;
}
.gradient-text {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
@media (max-width: 768px) {
body {
padding: 0;
.container {
padding: 20px 16px;
}
.container {
border-radius: 0;
box-shadow: none;
.content {
padding: 40px 24px;
border-radius: 16px;
}
.header {
padding: 16px 12px;
margin-bottom: 12px;
margin-bottom: 40px;
padding: 30px 0;
}
.header h1 {
font-size: 2.2rem;
}
h2 {
font-size: 1.3rem;
margin: 30px 0 16px 0;
}
}
@media (max-width: 480px) {
.content {
padding: 0 12px 12px 12px;
padding: 30px 20px;
}
.header h1 {
font-size: 1.6em;
font-size: 1.8rem;
}
}
</style>
@ -166,8 +219,8 @@
<body>
<div class="container">
<div class="header">
<h1>Privacy Policy</h1>
<div class="date">Last Updated: December 28, 2024</div>
<h1 class="gradient-text">Privacy Policy</h1>
<div class="date">Last Updated: August 28, 2025</div>
</div>
<div class="content">
@ -242,7 +295,18 @@
</div>
<div class="section">
<h2>8. Contact Us</h2>
<h2>8. Third-Party SDKs and Services</h2>
<p>Our app may integrate with third-party SDKs and services to enhance functionality:</p>
<ul>
<li><strong>Facebook SDK:</strong> Used for Facebook event creation and sharing features. The Facebook SDK may collect and process data according to Facebook's own privacy policy. You can review Facebook's privacy policy at <a href="https://www.facebook.com/privacy/policy">https://www.facebook.com/privacy/policy</a></li>
<li><strong>Core Data Framework:</strong> Apple's local data storage framework for managing app data on your device</li>
<li><strong>Camera Framework:</strong> Apple's camera framework for QR code and barcode scanning functionality</li>
</ul>
<p><strong>Note:</strong> Third-party SDKs have their own privacy policies and data collection practices. We recommend reviewing their respective privacy policies for complete information about how they handle your data.</p>
</div>
<div class="section">
<h2>9. Contact Us</h2>
<h3>Get in Touch</h3>
<p>If you have any questions about this Privacy Policy or our data practices, please contact us through:
</p>
@ -260,7 +324,7 @@
</div>
<div class="footer">
<p>&copy; 2024 MyQrCode. All rights reserved.</p>
<p>&copy; 2025 MyQrCode. All rights reserved.</p>
</div>
</div>
</body>

@ -138,7 +138,7 @@ class MemoryMonitor: ObservableObject {
///
func getDetailedMemoryInfo() -> DetailedMemoryInfo {
let stats = getAccurateMemoryStats()
let processInfo = ProcessInfo.processInfo
_ = ProcessInfo.processInfo
return DetailedMemoryInfo(
residentMemoryMB: stats.residentMemoryMB,
@ -511,7 +511,7 @@ extension MemoryMonitor {
func getMemoryTrend() -> MemoryTrend {
//
//
let currentMemory = getMemoryUsageInMB()
_ = getMemoryUsageInMB()
let pressure = getMemoryPressureLevel()
return MemoryTrend(

Loading…
Cancel
Save