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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:29:46+00:00 2026-06-13T18:29:46+00:00

Is it possible to redraw the whole view. I need it to complete my

  • 0

Is it possible to redraw the whole view.

I need it to complete my language settings. The problem is that the language only changes after the views there drawn again. Like you go out of settings and then go in again, then the language is changed. But the moment you save everything, the language stays the same.

So how should i redraw my views, or by best the whole app, after the language change was found?

  • 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-13T18:29:47+00:00Added an answer on June 13, 2026 at 6:29 pm

    In ARC:

    - (void)setLanguage:(LanguageType)languageType
    {
        _language = languageType;
    
        //TODO:your settings
    
        [_theWholeView setNeedsDisplay];
    }
    

    If that can not work , there is a very troublesome solution , it can reload the whole view.

    You can code like this:
    In the view.h , you need creat a delegate.
    @protocol WholeViewDelegate

    - (void)reloadData;
    

    @end

    In the view.m

    - (void)setLanguage:(LanguageType)languageType
    {
        _language = languageType;
    
        //TODO:your settings
    
        [_delegate reloadData];
    }
    

    In the controller you need to implement the delegate
    In the controller.m

    - (void)reloadData
    {
        if(_wholeView)
        {
            [_wholeView removeFromSuperview];
        }
        // in the wholeView init method you should refresh your data
        _wholeView = [[WholeView alloc] init];
        self.view addSubview:_wholeView
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an OpenGL view that I would like to manually modify and redraw
Possible Duplicate: Create a UIViewController that contain a UIViewController I have a parent view
Is that possible? Because I need to draw a photo-background with moving objects on
Is it possible to not clear entire screen when using glClear() function? I need
Is it possible to enable the show redraw regions programmatically? From AS3 code, I
I'm plotting ~768 points for a graph using CGContextStrokePath. The problem is that every
Every time when orientation changes, it always calls the onCreate method. Is it possible
In my application certain dll's are only required for specific operations that will not
Here is my problem: is it possible to hide the android notification bar without
I have a form that uses wxpython, one of the objects on the form

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.