简体   繁体   中英

how to integrate hybrid app into ios native app?

I have a requirement like integrate hybrid app into ios application? Is it possible or not? Currently iOS application accessing SUP server as middileware and downloading the hibrid app. 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

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. 在添加混合应用程序文件夹时,应选择第二个选项。

2) Resource path for hybrid app:

suppose to give resource path like this in iOS.

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

But here just give to : NSString *path = @"HybridAppFolderName";

I hope this will help to you..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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