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

  • Home
  • SEARCH
  • 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 8551549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:13:12+00:00 2026-06-11T14:13:12+00:00

I have an UIImage above which I am supposed to add another UIImage programmatically,

  • 0

I have an UIImage above which I am supposed to add another UIImage programmatically, above which there will be an UILabel. I successfully added the Image but it overlaps the Label.

If 1. BG image 2.Image to be added programmatically 3. Label,

then the sequence I want is,
1
2
3

and what I get is

1
3
2

2 overlaps my Label. I have tried Send to Back, Bring to Front and bringSubviewToFront. It did not work.

  • 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-11T14:13:13+00:00Added an answer on June 11, 2026 at 2:13 pm

    What you should do is add the particular images in that sequence itself, i.e. in the ViewWillAppear or the ViewDidLoad method use the method
    self.view addSubview:BGimage .
    Then add the next image on the previous one like
    BGimage addSubview:image2 .
    Similarly add the UILabel on the Image 2 like
    Image2 addSubview:Label

    This will put your images and the label in the particular sequence you want 🙂

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

Sidebar

Related Questions

I have a UIImage containing an image with a whole bunch of smaller pictures
I have a UIImage. I have an EAGLView in my app, which is a
I want to have a UIImage as a background image on a UIView. Here
I have UITableView and cell's are customized and have a UIImage with UIbutton, UIlabel
I have UIAlertView which holds an UIImage and two default buttons OK and Cancel
I have an array which contains a set of UIImage in byte forms. --My
I have one app, a UIImage* . I'm painting the image twice: Once in
I have a UIPickerView which works correctly, now I want to add a button
I have a URL for an image (got it from UIImagePickerController) but I no
I have a UIView which I would like to have aligned just above the

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.