Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Xcode/Apple 编程的新手,想知道是否有可能将一些 Java 类合并到 iOS 应用程序中?一种包装/打包它们以便我可以调用它的方法的方法?
不可能在 iOS 应用程序中包装 Java 类。首先,iOS 上没有 JRE。
抱歉不行。您将不得不在 Objective-C 中重写它。我也没有遇到过能够做得足够好的转换器以使其值得付出努力。