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 7854665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T20:08:18+00:00 2026-06-02T20:08:18+00:00

my .h file looks like this @interface EventCell : UITableViewCell { UILabel *TitleLabel; UILabel

  • 0

my .h file looks like this

@interface EventCell : UITableViewCell {
    UILabel *TitleLabel;
    UILabel *DateLabel;
    UIWebView *LocationLabel;
}

@property (nonatomic, retain) IBOutlet UILabel *TitleLabel;
@property (nonatomic, retain) IBOutlet UILabel *DateLabel;
@property (nonatomic, retain) IBOutlet UIWebView *LocationLabel;

@end

and in interface building my UILabel are connected just fine. When menu clicking on the objects in interface builder, I could see my corresponding variables to connect them to. But for the UIWebView I cannot see what to connect it to. Menu clicking on it just shows delegate and I can drag it to something but I don’t see how to connect it to my location label variable

help? I feel like I am missing something very obvious. insight appreciated

the root problem is displaying string information (with some html formatting) inside this web view, which currently doesn’t show my string data because it isn’t connected to the controller

  • 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-02T20:08:21+00:00Added an answer on June 2, 2026 at 8:08 pm

    you should read again the documentation about UIWebView class.
    Well at first

    the root problem is displaying string information (with some html formatting) inside this web view, which currently doesn’t show my string data because it isn’t connected to the controller

    I’m not sure if i get it right. Are you trying to put UILabels into your UIWebView instance?
    Instead of putting the labels into your webview you can simply pat the text right into your html code -> create method which will have 2 input parameters:

    1. title string
    2. date string

    In the method you will construct your html code ( or read from file ) and after that you will load it to the webview.

    That should do the stuff, check out some UIWebview examples on the internet.

    Secondly:
    Go to Interface builder ( open xib of your uitableviewcell subclass again) and select the file owner object in the left pane. Now, simply hold ctrl key and connect your file owner with UIWebview (left click on your mouse + drag ).
    If you want to set UIWebview’s delegate, do the same stuff, but in reverse way. select uiwebview object, hold ctrk + left click + drag to File owner’s object -> there you go.

    PS: Do you really need UIWebview in your cell? Isn’t there any other way to achieve your goal?
    avoid things like
    -> downloading content from the internet right into your webview instance of your tableview cell -> this will kill performance of your app

    well if i haven’t answered your question, try to explain what you’re planning to do ->
    what you want to present in your cell -> ( have you prepared the data in some array like object or do you want to get them online? is it really necessary to use uiwebview in your case? )

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My config file looks like this: title = myTitle; otherTitle = myOtherTitle; when I
I have an XML file looks like this: <?xml version=1.0 encoding=utf-8 ?> <PathMasks> <Mask
I have a text file looks like this : 100 50 20 90 4.07498
consider my source file looks like this. <Content xmlns=uuid:4522eb85-0a47-45f9-8e2b-1x82c78xx920> <first>Hello World.This is Fisrt field</first>
I have a text file that looks like this: value1 value2 value3 There are
I have a php file that looks like this: <?php include(config.php); // put the
I have an XML file that looks like this: <SiteMenuItems> <SiteMenuItem text=Home navigateurl=/Default.aspx tooltip=Return
I have an eclipse's .classpath file that looks like this: <?xml version=1.0 encoding=UTF-8?> <classpath>
I have a CMakeLists.txt file that looks like this: add_executable(exec1 exec1.c source1.c source2.c source3.c)
I have a large xml file that looks like this: 20120124 07:30:15.301, saving to

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.