{"id":1169016,"date":"2025-01-15T16:05:26","date_gmt":"2025-01-15T08:05:26","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1169016.html"},"modified":"2025-01-15T16:05:30","modified_gmt":"2025-01-15T08:05:30","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8python%e5%bc%80%e5%8f%91ios%e7%a8%8b%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1169016.html","title":{"rendered":"\u5982\u4f55\u4f7f\u7528python\u5f00\u53d1ios\u7a0b\u5e8f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/26070113\/75b50c76-ef7d-4aa1-98b3-ff13c47f8760.webp\" alt=\"\u5982\u4f55\u4f7f\u7528python\u5f00\u53d1ios\u7a0b\u5e8f\" \/><\/p>\n<p><p> <strong>\u4f7f\u7528Python\u5f00\u53d1iOS\u7a0b\u5e8f\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528Kivy\u3001\u4f7f\u7528BeeWare\u3001\u4f7f\u7528PyQt\u3001\u4f7f\u7528SL4A\u3002<\/strong> \u5176\u4e2d\uff0c<strong>\u4f7f\u7528Kivy<\/strong> \u662f\u6700\u63a8\u8350\u7684\u65b9\u6cd5\u3002Kivy\u662f\u4e00\u4e2a\u7528\u4e8e\u5f00\u53d1\u591a\u70b9\u89e6\u63a7\u5e94\u7528\u7684\u5f00\u6e90Python\u5e93\uff0c\u5b83\u652f\u6301\u591a\u79cd\u5e73\u53f0\uff0c\u5305\u62eciOS\u3001Android\u3001Windows\u3001Linux\u7b49\u3002\u901a\u8fc7Kivy\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528Python\u7f16\u5199\u4e00\u4e2a\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u5c06\u5176\u6253\u5305\u6210iOS\u5e94\u7528\u3002\u8be6\u7ec6\u63cf\u8ff0\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><p>Kivy\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u7528\u6237\u754c\u9762\u7684\u6846\u67b6\uff0c\u5177\u6709\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u80fd\u591f\u652f\u6301\u5404\u79cd\u5e73\u53f0\u3002\u901a\u8fc7\u4f7f\u7528Kivy\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u7f16\u5199\u4e00\u6b21\u4ee3\u7801\uff0c\u5e76\u5728\u591a\u4e2a\u5e73\u53f0\u4e0a\u8fd0\u884c\u3002\u8fd9\u4f7f\u5f97\u5f00\u53d1iOS\u5e94\u7528\u53d8\u5f97\u66f4\u52a0\u7b80\u5355\u548c\u9ad8\u6548\u3002Kivy\u6709\u4e00\u4e2a\u975e\u5e38\u6d3b\u8dc3\u7684\u793e\u533a\uff0c\u63d0\u4f9b\u4e86\u5927\u91cf\u7684\u6587\u6863\u548c\u793a\u4f8b\u4ee3\u7801\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u5feb\u901f\u5165\u95e8\u3002\u6b64\u5916\uff0cKivy\u8fd8\u652f\u6301\u591a\u79cd\u8f93\u5165\u65b9\u5f0f\uff0c\u5982\u89e6\u6478\u3001\u9f20\u6807\u3001\u952e\u76d8\u7b49\uff0c\u4f7f\u5f97\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u5728\u5404\u79cd\u8bbe\u5907\u4e0a\u8fd0\u884c\u3002<\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Kivy\u4ee5\u53ca\u5176\u4ed6\u65b9\u6cd5\u6765\u5f00\u53d1iOS\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528Kivy\u5f00\u53d1iOS\u7a0b\u5e8f<\/h3>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5Kivy<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5Kivy\u5e93\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528pip\u6765\u5b89\u88c5Kivy\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install kivy<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6b64\u5916\uff0c\u8fd8\u9700\u8981\u5b89\u88c5Kivy iOS\u5de5\u5177\u5305\uff0c\u8fd9\u662f\u4e00\u4e2a\u7528\u4e8e\u5c06Kivy\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210iOS\u5e94\u7528\u7684\u5de5\u5177\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5Kivy iOS\u5de5\u5177\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install kivy-ios<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u521b\u5efaKivy\u5e94\u7528\u7a0b\u5e8f<\/h4>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Kivy\u5e94\u7528\u7a0b\u5e8f\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u57fa\u672c\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from kivy.app import App<\/p>\n<p>from kivy.uix.label import Label<\/p>\n<p>class MyApp(App):<\/p>\n<p>    def build(self):<\/p>\n<p>        return Label(text=&#39;Hello, Kivy!&#39;)<\/p>\n<p>if __name__ == &#39;__m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n__&#39;:<\/p>\n<p>    MyApp().run()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u793a\u4f8b\u521b\u5efa\u4e86\u4e00\u4e2a\u7b80\u5355\u7684Kivy\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u5728\u5c4f\u5e55\u4e0a\u663e\u793a\u201cHello, Kivy!\u201d\u7684\u6807\u7b7e\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u6253\u5305Kivy\u5e94\u7528\u7a0b\u5e8f<\/h4>\n<\/p>\n<p><p>\u8981\u5c06Kivy\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210iOS\u5e94\u7528\uff0c\u4f60\u9700\u8981\u4f7f\u7528Kivy iOS\u5de5\u5177\u5305\u3002\u9996\u5148\uff0c\u4f60\u9700\u8981\u521b\u5efa\u4e00\u4e2aKivy iOS\u9879\u76ee\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">toolchain create myapp ~\/path\/to\/your\/app<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u4f60\u53ef\u4ee5\u6784\u5efa\u9879\u76ee\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">toolchain build myapp<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6700\u540e\uff0c\u4f60\u53ef\u4ee5\u5c06\u9879\u76ee\u90e8\u7f72\u5230iOS\u8bbe\u5907\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">toolchain deploy myapp<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528BeeWare\u5f00\u53d1iOS\u7a0b\u5e8f<\/h3>\n<\/p>\n<p><p>BeeWare\u662f\u53e6\u4e00\u4e2a\u7528\u4e8e\u5f00\u53d1\u8de8\u5e73\u53f0\u5e94\u7528\u7684Python\u5e93\u3002BeeWare\u63d0\u4f9b\u4e86\u4e00\u4e2a\u540d\u4e3aToga\u7684\u7528\u6237\u754c\u9762\u5de5\u5177\u5305\uff0c\u53ef\u4ee5\u7528\u4e8e\u521b\u5efa\u539f\u751f\u7684iOS\u5e94\u7528\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5BeeWare<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5BeeWare\u5de5\u5177\u94fe\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528pip\u6765\u5b89\u88c5BeeWare\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install briefcase<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u521b\u5efaBeeWare\u5e94\u7528\u7a0b\u5e8f<\/h4>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528BeeWare\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u57fa\u672c\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import toga<\/p>\n<p>from toga.style import Pack<\/p>\n<p>from toga.style.pack import COLUMN, ROW<\/p>\n<p>def build(app):<\/p>\n<p>    box = toga.Box()<\/p>\n<p>    label = toga.Label(&#39;Hello, BeeWare!&#39;, style=Pack(padding=(0, 5)))<\/p>\n<p>    box.add(label)<\/p>\n<p>    return box<\/p>\n<p>def main():<\/p>\n<p>    return toga.App(&#39;MyApp&#39;, &#39;org.example.myapp&#39;, startup=build)<\/p>\n<p>if __name__ == &#39;__main__&#39;:<\/p>\n<p>    main().main_loop()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u6253\u5305BeeWare\u5e94\u7528\u7a0b\u5e8f<\/h4>\n<\/p>\n<p><p>\u8981\u5c06BeeWare\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210iOS\u5e94\u7528\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528Briefcase\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">briefcase create iOS<\/p>\n<p>briefcase build iOS<\/p>\n<p>briefcase run iOS<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528PyQt\u5f00\u53d1iOS\u7a0b\u5e8f<\/h3>\n<\/p>\n<p><p>PyQt\u662f\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u8de8\u5e73\u53f0\u5e94\u7528\u7684Python\u5e93\u3002\u867d\u7136PyQt\u4e3b\u8981\u7528\u4e8e\u684c\u9762\u5e94\u7528\uff0c\u4f46\u4e5f\u53ef\u4ee5\u7528\u4e8e\u521b\u5efaiOS\u5e94\u7528\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5PyQt<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5PyQt\u5e93\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528pip\u6765\u5b89\u88c5PyQt\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pyqt5<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u521b\u5efaPyQt\u5e94\u7528\u7a0b\u5e8f<\/h4>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684PyQt\u5e94\u7528\u7a0b\u5e8f\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u57fa\u672c\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sys<\/p>\n<p>from PyQt5.QtWidgets import QApplication, QLabel<\/p>\n<p>app = QApplication(sys.argv)<\/p>\n<p>label = QLabel(&#39;Hello, PyQt!&#39;)<\/p>\n<p>label.show()<\/p>\n<p>sys.exit(app.exec_())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u6253\u5305PyQt\u5e94\u7528\u7a0b\u5e8f<\/h4>\n<\/p>\n<p><p>\u8981\u5c06PyQt\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210iOS\u5e94\u7528\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528PyQt iOS\u5de5\u5177\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pyqtdeploy build myapp<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528SL4A\u5f00\u53d1iOS\u7a0b\u5e8f<\/h3>\n<\/p>\n<p><p>SL4A\uff08Scripting Layer for Android\uff09\u662f\u4e00\u4e2a\u7528\u4e8e\u5728Android\u8bbe\u5907\u4e0a\u8fd0\u884c\u811a\u672c\u7684\u5de5\u5177\u3002\u867d\u7136SL4A\u4e3b\u8981\u7528\u4e8eAndroid\uff0c\u4f46\u4e5f\u53ef\u4ee5\u7528\u4e8e\u521b\u5efaiOS\u5e94\u7528\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5SL4A<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5SL4A\u5de5\u5177\u5305\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528pip\u6765\u5b89\u88c5SL4A\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install sl4a<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u521b\u5efaSL4A\u5e94\u7528\u7a0b\u5e8f<\/h4>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684SL4A\u5e94\u7528\u7a0b\u5e8f\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u57fa\u672c\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sl4a<\/p>\n<p>droid = sl4a.Android()<\/p>\n<p>droid.makeToast(&#39;Hello, SL4A!&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u6253\u5305SL4A\u5e94\u7528\u7a0b\u5e8f<\/h4>\n<\/p>\n<p><p>\u8981\u5c06SL4A\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210iOS\u5e94\u7528\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528SL4A iOS\u5de5\u5177\u5305\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sl4a build myapp<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4f7f\u7528Kivy\u3001BeeWare\u3001PyQt\u548cSL4A\u7b49\u5de5\u5177\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u4f7f\u7528Python\u521b\u5efaiOS\u5e94\u7528\u7a0b\u5e8f\u3002\u6bcf\u79cd\u5de5\u5177\u90fd\u6709\u5176\u4f18\u70b9\u548c\u7f3a\u70b9\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u3002\u5176\u4e2d\uff0c<strong>Kivy<\/strong> \u662f\u6700\u63a8\u8350\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u5177\u6709\u5f3a\u5927\u7684\u529f\u80fd\u548c\u5e7f\u6cdb\u7684\u793e\u533a\u652f\u6301\u3002\u4f7f\u7528Kivy\uff0c\u4f60\u53ef\u4ee5\u7f16\u5199\u4e00\u6b21\u4ee3\u7801\uff0c\u5e76\u5728\u591a\u4e2a\u5e73\u53f0\u4e0a\u8fd0\u884c\uff0c\u4ece\u800c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002<\/p>\n<\/p>\n<p><p>\u65e0\u8bba\u4f60\u9009\u62e9\u54ea\u79cd\u5de5\u5177\uff0c\u90fd\u53ef\u4ee5\u901a\u8fc7Python\u5b9e\u73b0iOS\u5e94\u7528\u5f00\u53d1\uff0c\u8fd9\u4e3aPython\u5f00\u53d1\u8005\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u9009\u62e9\u548c\u673a\u4f1a\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u5e2e\u52a9\u4f60\u5feb\u901f\u5165\u95e8\uff0c\u5e76\u5f00\u53d1\u51fa\u51fa\u8272\u7684iOS\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u521b\u5efaiOS\u5e94\u7528\u7a0b\u5e8f\uff1f<\/strong><br \/>\u5728Python\u4e2d\u5f00\u53d1iOS\u5e94\u7528\u7a0b\u5e8f\u901a\u5e38\u4f7f\u7528Kivy\u3001BeeWare\u6216PyObjC\u7b49\u6846\u67b6\u3002Kivy\u662f\u4e00\u4e2a\u5f00\u6e90Python\u5e93\uff0c\u5141\u8bb8\u4f60\u5feb\u901f\u5f00\u53d1\u8de8\u5e73\u53f0\u5e94\u7528\uff0c\u652f\u6301\u591a\u70b9\u89e6\u63a7\u548c\u4e30\u5bcc\u7684\u7528\u6237\u754c\u9762\u3002BeeWare\u5219\u63d0\u4f9b\u4e86\u4e00\u5957\u5de5\u5177\uff0c\u53ef\u4ee5\u5c06Python\u4ee3\u7801\u6253\u5305\u4e3a\u539f\u751fiOS\u5e94\u7528\uff0cPyObjC\u5219\u662f\u4e00\u4e2a\u6865\u6881\uff0c\u5141\u8bb8Python\u4e0eObjective-C\u8fdb\u884c\u4ea4\u4e92\u3002\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\uff0c\u6839\u636e\u4f60\u7684\u9700\u6c42\u548c\u9879\u76ee\u590d\u6742\u6027\u8fdb\u884c\u5f00\u53d1\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u5f00\u53d1iOS\u5e94\u7528\u7a0b\u5e8f\u7684\u6d41\u7a0b\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5f00\u53d1\u6d41\u7a0b\u4e00\u822c\u5305\u62ec\u51e0\u4e2a\u6b65\u9aa4\uff1a\u9996\u5148\uff0c\u9009\u62e9\u4e00\u4e2a\u9002\u5408\u7684\u6846\u67b6\uff0c\u5982Kivy\u6216BeeWare\u3002\u63a5\u4e0b\u6765\uff0c\u5b89\u88c5\u5fc5\u8981\u7684\u5f00\u53d1\u5de5\u5177\u548c\u5e93\uff0c\u5e76\u8bbe\u7f6e\u5f00\u53d1\u73af\u5883\u3002\u7136\u540e\uff0c\u5f00\u59cb\u7f16\u5199\u5e94\u7528\u7684\u4ee3\u7801\uff0c\u8bbe\u8ba1\u7528\u6237\u754c\u9762\uff0c\u5e76\u5b9e\u73b0\u529f\u80fd\u3002\u5b8c\u6210\u540e\uff0c\u4f7f\u7528\u6846\u67b6\u63d0\u4f9b\u7684\u5de5\u5177\u6253\u5305\u5e94\u7528\uff0c\u5e76\u8fdb\u884c\u5fc5\u8981\u7684\u6d4b\u8bd5\uff0c\u786e\u4fdd\u5728iOS\u8bbe\u5907\u4e0a\u6b63\u5e38\u8fd0\u884c\u3002\u6700\u540e\uff0c\u5c06\u5e94\u7528\u63d0\u4ea4\u5230App Store\u6216\u8fdb\u884c\u5206\u53d1\u3002<\/p>\n<p><strong>Python\u5f00\u53d1\u7684iOS\u5e94\u7528\u6027\u80fd\u5982\u4f55\uff1f<\/strong><br \/>Python\u5f00\u53d1\u7684iOS\u5e94\u7528\u5728\u6027\u80fd\u4e0a\u53ef\u80fd\u4e0d\u5982\u4f7f\u7528Swift\u6216Objective-C\u7f16\u5199\u7684\u539f\u751f\u5e94\u7528\u3002\u8fd9\u4e3b\u8981\u662f\u56e0\u4e3aPython\u662f\u4e00\u79cd\u89e3\u91ca\u6027\u8bed\u8a00\uff0c\u6267\u884c\u901f\u5ea6\u76f8\u5bf9\u8f83\u6162\u3002\u4e0d\u8fc7\uff0c\u901a\u8fc7\u4f18\u5316\u4ee3\u7801\u548c\u5408\u7406\u4f7f\u7528\u6846\u67b6\u7684\u7279\u6027\uff0c\u53ef\u4ee5\u63d0\u9ad8\u5e94\u7528\u7684\u6027\u80fd\u3002\u6b64\u5916\uff0cKivy\u548cBeeWare\u7b49\u6846\u67b6\u5df2\u7ecf\u9488\u5bf9\u79fb\u52a8\u8bbe\u5907\u8fdb\u884c\u4e86\u4f18\u5316\uff0c\u80fd\u591f\u6ee1\u8db3\u5927\u90e8\u5206\u5e94\u7528\u7684\u6027\u80fd\u9700\u6c42\u3002\u5728\u5f00\u53d1\u4e4b\u524d\uff0c\u8bc4\u4f30\u5e94\u7528\u7684\u590d\u6742\u6027\u548c\u6027\u80fd\u9700\u6c42\uff0c\u6709\u52a9\u4e8e\u505a\u51fa\u66f4\u597d\u7684\u9009\u62e9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528Python\u5f00\u53d1iOS\u7a0b\u5e8f\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528Kivy\u3001\u4f7f\u7528BeeWare\u3001\u4f7f\u7528PyQt\u3001\u4f7f\u7528SL4A\u3002 \u5176\u4e2d [&hellip;]","protected":false},"author":3,"featured_media":1169029,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1169016"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1169016"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1169016\/revisions"}],"predecessor-version":[{"id":1169031,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1169016\/revisions\/1169031"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1169029"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1169016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1169016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1169016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}