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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:41:09+00:00 2026-06-01T07:41:09+00:00

i have a UITableView where i want one cell(database row) needs to be default,

  • 0

i have a UITableView where i want one cell(database row) needs to be default,
So I am thinking of two options

  1. in TableView upon clicking a cell, change accessoryType to mark just like ringtone selection in settings app

  2. when user enters data, add an option (like radio button or segmented control) to make that cell (database row) as default one

I feel first option is good but we can implement code for that only in didSelectRowAtIndexPath but i need to jump to another view when user click on a cell.

So please give me an idea how to accomplish this

One idea iam thinking is adding an edit button but don’t know whether its possible or not.

Thanks

  • 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-01T07:41:11+00:00Added an answer on June 1, 2026 at 7:41 am

    Not sure if i understand your question correctly , but according to what i understand you want a table view in which many values will be there , and you want one value to be default which can be changed later.

    According to me these ways would be pretty good,

    1. Changing the accessorytype of the tableViewCell. (Most common way)
    2. Changing the Highlighted property of the cell on loading the tableView.
    3. Adding some image then setting the image as the background view of the selected cell.
    4. Adding custom image view (such as tick or something and adding to the cell).

    this code can be put in the viewDidload so your default selected value appears.
    Hope this helps.

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

Sidebar

Related Questions

I have a UITableView With Two Sections. First section has one row and the
I have an app, where there's one UIWebView and a UITableView. I don't want
I have a UITableView , which when I select a row, I want to
Can any one help me out with UITableView animating issue? By default we have
I have a UITableView with one UISwitch for row. To do it: UISwitch *switchController
I have an edit screen which is comprised of one huge UITableView. Each cell
I have two UITableView, each one has a different delegate in the same UIViewController.
Basically I want to re-style UITableView(Controller). Each cell will have a picture as a
I have a UITableView which I want to populate with details from an array
I have a UITableView that I want to edit inside of a UITableViewController. This

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.