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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:11:22+00:00 2026-05-30T12:11:22+00:00

I have to use 13 Preferences in my application. I have 13 buttons for

  • 0
  • I have to use 13 Preferences in my application.
    enter image description here
  • I have 13 buttons for these 13 preferences.
  • But i need to display only 4 buttons in active on the home screen, which we have select 4 from these 13 preferences

enter image description here

  • when i click on the preference button (top -right corner to the home page).
    preference list will displayed with 13 preferences.

  • When i select any preference the corresponding button should be replaced with the previous button.

    • what to do? thanks in advance
  • 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-05-30T12:11:23+00:00Added an answer on May 30, 2026 at 12:11 pm

    Well you need to follow the next:

    [if its a limited number of buttons]
    1-. Create a IBOutlet for each button.
    2-. Maintain a an array for the preferences
    3-. Implement an NSNotification in the main screen and call it from preferences, when you dismiss, and send the array
    4-. Modify the UIButton

    [if its different number of buttons]
    – It’s almost the same but you need to create them in the code, and then place them. Keep track of the last button x,y,width,height. And the other button could be oldX+oldWidth+offsetX

    If you have any problems with the code just tell me

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

Sidebar

Related Questions

I have an application that doesn't use databases but it has some shared preferences
I have use the TryUpdateModel method on the controllers but now I need to
I have my own Objects which I need to store for later use. The
Anytime i change my in-app-settings (with shared preferences) i have to use the back
I have this textbox I use to capture keyboard shortcuts for a preferences config.
I have use these code to upload two images in folder of the root
I have use semantic-analyze-proto-impl-toggle to switch between the function's proto and impl, but when
Hello I have use DOMDocs in the past but I am stuck how to
I am working on a website on which we have use parallax effect. In
Is it possible to use Preferences API to store my application's settings in a

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.