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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:36:10+00:00 2026-06-02T07:36:10+00:00

i have one detail view one for three different table i need to change

  • 0

i have one detail view one for three different table i need to change some value (background image. color of tile) in base with table come from or set the color in the xml, anyone can help me?

that’s the code that populate the detail view

//Definizione Foto
NSString *photo = mieRicette.foto;
foto.image = [UIImage imageNamed:photo];


//Definizione Foto Orizzontale
NSString *photoOrizz = mieRicette.foto;
fotoOrizz.image = [UIImage imageNamed:photoOrizz];



//definizione Nome Orizzontale
nomeOrizz.font = [UIFont fontWithName:@"populaire" size:37.5];
nomeOrizz.textColor = [UIColor whiteColor];
nomeOrizz.text=mieRicette.nome;


//definizione Dose
dose.font = [UIFont fontWithName:@"populaire" size:25];
dose.textColor = [UIColor whiteColor];
dose.text=mieRicette.dose;


//definizione Nome e suo colore
nome.font = [UIFont fontWithName:@"LegacySerifLT-MediumItalic" size:25];
nome.text = mieRicette.nome;
nome.textColor = [UIColor colorWithRed:55.0f/255.0f green:70.0f/255.0f blue:48.0f/255.0f alpha:1.0f];


//definizione Tempo
tempo.font = [UIFont fontWithName:@"populaire" size:25];
tempo.textColor = [UIColor colorWithRed:55.0f/255.0f green:70.0f/255.0f blue:48.0f/255.0f alpha:1.0f];
tempo.text=mieRicette.tempo;


//definizione Background
NSString *bck = mieRicette.bck;
background.image = [UIImage imageNamed:bck];    
  • 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-02T07:36:14+00:00Added an answer on June 2, 2026 at 7:36 am

    step1. set tag for each tableview, like tag 0,1,2

    step2. create one uiimage instance in detailedviewcontroller then synthezise it

    step3. before pushing the detailed viewcontroller, set the image of the detailedview controller based on the tableview

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

Sidebar

Related Questions

I have a detail view that includes three UIButtons, each of which pushes a
I have a SplitViewController which has two UITableViewControllers - one master/root one detail. Everything
I have two models. one is brand and another is product_detail. brands table has
I have two tables. One has some product details, the other holds various photos
I have two tables. One changelog-table, the details of which aren't important here. Another
I have DetailView in which there are three textviews which are showing different informations.
First, some background: I am trying to implement a master-detail interface in Cocoa (for
I am little confused about how to create Master Detail view with two different
I have a TemplateField in a DetailsView and its input should be one of
I have two mysql tables, one containing details on cars and one containing all

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.