简体   繁体   English

如何将混合应用程序集成到ios本机应用程序中?

[英]how to integrate hybrid app into ios native app?

I have a requirement like integrate hybrid app into ios application? 我有将混合应用程序集成到ios应用程序中的要求吗? Is it possible or not? 有没有可能? Currently iOS application accessing SUP server as middileware and downloading the hibrid app. 当前,iOS应用程序作为中间件访问SUP服务器并下载hibrid应用程序。 Now i want to change as look and feel like native. 现在,我想像本地人一样改变外观。 How to custamize(integrate) the both codes. 如何自定义(整合)这两个代码。 Thanks in advance.. 提前致谢..

I find the solution for this issue. 我找到了解决此问题的方法。 Just follow the below links: 只需点击以下链接:

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01853.0222/doc/html/vhu1333388244905.html http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01853.0222/doc/html/vhu1333388244905.html

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01853.0222/doc/html/vhu1333388244905.html http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01853.0222/doc/html/vhu1333388244905.html

Here as a developer we have to take bit care of 2 things. 在这里,作为开发人员,我们必须注意两件事。 In these steps chance to do mistake: 在这些步骤中,有机会犯错误:

1) Adding hybrid app folder: While adding the hybrid app folder should select second option. 1)添加混合应用程序文件夹:在添加混合应用程序文件夹时,应选择第二个选项。 在添加混合应用程序文件夹时,应选择第二个选项。

2) Resource path for hybrid app: 2)混合应用程序的资源路径:

suppose to give resource path like this in iOS. 假设在iOS中提供这样的资源路径。

NSString *path = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"HybridAppFolderName"]; NSString * path = [[[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@“ HybridAppFolderName”];

But here just give to : NSString *path = @"HybridAppFolderName"; 但是这里只是给:NSString * path = @“ HybridAppFolderName”;

I hope this will help to you.. 希望对您有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM