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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:17:24+00:00 2026-05-30T11:17:24+00:00

Is it possible on iOS that a view always floats above all other views.

  • 0

Is it possible on iOS that a view always floats above all other views. I ask this because what I would like to achieve is a view that floats above a ViewController, and then a Modal View Controller slides in, whilst that particular view is still floating over that Modal View Controller (hope you get what I am trying to say).

  • 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-30T11:17:26+00:00Added an answer on May 30, 2026 at 11:17 am

    There is. You can add your view to the main window and bring it to front when you have to.

    In following code is presumed that _viewConroller and _anotherView are strong properties of appDelegate – configuration could of course be different.

    This code would add small blue square on top left corner of the screen.

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
        self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    
        _viewController = [[ViewController alloc] initWithNibName:@"ViewController" bundle:nil];
        _anotherView = [[UIView alloc] initWithFrame: CGRectMake (0.0,0.0,20.0,20.0)];
        [anotherView setBackgroundColor: [UIColor blueColor]];    
    
        self.window.rootViewController = self.viewController;
        [self.window makeKeyAndVisible];
    
        [self.window addSubView: _anotherView];
        [self.window bringSubViewToFront: _anotherView]; //not really needed here but it doesn't do any harm
    
        return YES;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to build an iOS app that will get user's voicemails ?
Possible Duplicate: Python or Ruby Interpreter on iOS I just discovered this apps pypad
I have a view on iOS with a bunch of UI widgets like sliders
I need to create a scrollable composite view on iOS. That is to say,
I would like to be able to communicated with PLC controllers, so that I
I've written an iOS app that I want to port to android. This app
This question is about iOS device rotation and multiple controlled views in a UINavigationController.
I have a UIView that I would like to animate into the screen in
Is it possible (and if so convenient) to use PhoneGap for iOS applications that
Is this possible in iOS, or do I really have to register a shake

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.