Posts

Showing posts with the label 向量图标

A New Collection of Thoughtful Learning Apps — Now Available on iOS & Android

Image
I’m excited to share a set of mobile apps I’ve recently completed and published on both the Google Play Store and the Apple App Store. These apps are designed with a simple goal in mind: to make meaningful, structured content more accessible, whether you’re studying theology or improving your English vocabulary. 📱 Now Available on Both Platforms All apps are live and available for download: Google Play Developer Page: https://play.google.com/store/apps/dev?id=5835943159853189043 Apple App Store Developer Page: https://apps.apple.com/ca/developer/q-z-l-corp/id1888794100 📖 Theology & Confession Study Apps For those interested in Reformed theology and classical Christian teachings, I’ve developed a series of apps that present foundational texts in a clean, focused reading format: The Belgic Confession Canons of Dort Heidelberg Catechism Westminster Shorter Catechism Each app is designed to provide a distraction-free experience, making it easier to read, reflect, and revisit these im...

React Native iOS 修复:MaterialIcons 显示 “?”(字体未加载问题完整解决方案)

Image
React Native iOS 修复:MaterialIcons 显示 “?”(字体未加载问题完整解决方案) 如果你的 React Native 应用在 iOS 上显示 ? 而不是 MaterialIcons 图标,通常是因为 iOS 没有正确加载图标字体导致的。 本文将讲解: 问题出现的原因 完整修复方法 常见坑:Multiple commands produce MaterialIcons.ttf 问题现象 你可能在代码中使用: import MaterialIcons from '@react-native-vector-icons/material-icons'; 并这样渲染图标: <MaterialIcons name="dashboard" size={24} color="#2563eb" /> 但在 iOS 上出现: 显示 ? 图标为空白 图标无法显示 根本原因 问题的核心是 MaterialIcons.ttf 没有被正确加载到 iOS App Bundle 中。 在 iOS 中,字体必须满足: 被加入 App 资源文件 在 Info.plist 中注册 如果缺少任何一步,iOS 就无法渲染字体图标,只会显示 ? 。 解决方案(推荐做法) 第一步:在 Info.plist 注册字体 打开文件: ios/<YourAppName>/Info.plist 添加以下内容: <key>UIAppFonts</key> <array> <string>MaterialIcons.ttf</string> </array> 如果已经存在 UIAppFonts ,只需追加: <string>MaterialIcons.ttf</string> 第二步:清理并重新构建 iOS 项目 修改 Info.plist 后必须重新编译 App。 方法一:Xcode Product → Clean Build F...