Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8764669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:05:34+00:00 2026-06-13T16:05:34+00:00

Before I start, please don’t yell at me telling me the answer is here

  • 0

Before I start, please don’t yell at me telling me the answer is here or there, all my researches are polluted with phonegap results, and I don’t use it, so I have troubles finding the answer !

I’m currently developing a native iOS app. It’s almost done, except one section, which will contain a lot of text (basically all the rules of a sport, 10 sections with 2 to 18 sub-sections and a lot of text in each). I started the implementation, using a UITableViewController to display the main sections, and selecting a cell brings me to another UITableViewController with all the sub-sections of the selected section. Then, selecting a sub-section, you’re supposed to get its content. What I’ve started to do is use another UITableVC with TextViews in the cells, using section headers to structure the text, but that’s really not convenient nor is it nice to read.

So, I want to use html pages in UIWebViews. I’m thinking of using JQueryMobile, as I’ve used it in the past and I think you can get nice results pretty quickly. So, I have a couple of questions :

  1. First, what do you think of the structure of this section ? (a UITableVC sending to another UITableVC, bringing up a UIWebView). How can I do something as readable as possible ? It’s really the first time I have to put that much text in an app, so I’m not as sure of my design as when I develop more “standard” things. I want to do something better, but I have no idea how I can do something better..

  2. Secondly, is JQuery Mobile a good option ? And this brings the real question : how do I include JQuery Mobile in my app ? I know I can include the .js and .css directly from JQuery’s servers, but my app can run offline, so where should I put the needed files ? How do I include them in the html files ?

Thanks for your help, and again, if the second question has been asked/answered, I’m sorry, but when you search for JQuery Mobile and iOS, all you get is PhoneGap questions..

Just in case :

XCode 4.5.1

iOS 5+

Storyboard

ARC

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T16:05:35+00:00Added an answer on June 13, 2026 at 4:05 pm

    Becuase UIWebView objects will cost a lot of memory, it’s better to have only one UIWebView object in the native view. Don’t add it for each row of UITableViewController.

    You can write the web pages and include jQuery Mobile as normal and test them on Mobile Safari (by starting a server on your Mac and access it in your iOS device/emulator). After testing, add the directory in your XCode project as the blue ‘folder reference’. Use the following code to load the page in UIWebView:

    NSString *baseDirectory = [[NSBundle mainBundle].resourcePath stringByAppendingPathComponent:@"your_directory"];
    NSURL *url = [NSURL URLWithString:@"your_index.html" relativeToURL:[NSURL fileURLWithPath:baseDirectory]]
    NSURLRequest *request = [NSURLRequest requestWithURL:url cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:3600];
    [webView loadRequest:request];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Before I start, please accept my apologies that I'm not a mathematician and don't
I have posted in here before but all have led to dead ends. First
Before you start admonishing me with DON'T DO IT , BAD PRACTICE ! and
I don't have a very good understanding of Javascript so appologies before we start.
I don't have a very good understanding of Javascript so appologies before we start.
Important: we really need the stated functionality, so please don't start suggesting alternatives. We're
Before start let me tell my experience: I am experienced with C#.NET, web services,
I want to get one record before start date and end date DtpFrom means
Am using Mediainfo library in my C# project,before start invoking this dll,i just ran
I usually try to do TDD with not much analysis (no diagrams) before start

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.