Questions tagged [uiwindow]

The UIWindow class defines objects (known as windows ) that manage and coordinate the windows an application displays on the screen.

In iOS, windows and views are used to present application’s content on the screen. Windows do not have any visible content themselves but provide a basic container for application’s views. The two principal functions of a window are to provide an area for displaying its views and to distribute events to the views. The window is the root view in the view hierarchy. A window belongs to a level; the windows in one level appear above another level. For example, alerts appear above normal windows. Typically, there is only one window in an iOS application.

649 questions
0
votes
1 answer

Best way to combine UI Navigation Controller with UITabBar Controller?

I'm at a point in the development of the app I'm working on where in order to complete the assignments given to me, it seems like the best way to accomplish what I need is to combine a UINavigationController with a UITabBarController. Structurally,…
zeboidlund
  • 9,731
  • 31
  • 118
  • 180
0
votes
1 answer

self.view not properly aligned on window

So what I am really doing is... I have a login page, when proper login session took place, Its navigating to another view. It contains Tab bar. So what I did is, I made a separate class for customizing 'UITabbarController'. And now I see a white…
Nina
  • 1,579
  • 2
  • 21
  • 51
0
votes
1 answer

Unable to capture touch in UIWebView IOS 5

I am new to iPhone developer, TouchCapturingWindow.h @interface TouchCapturingWindow : UIWindow { NSMutableArray *views; @private UIView *touchView; } - (void)addViewForTouchPriority:(UIView*)view; -…
Krunal
  • 6,440
  • 21
  • 91
  • 155
0
votes
1 answer

What really happens when a UIView becomes hidden?

This may sound like a weird question, but what exactly happens when it becomes hidden. It would be great to see the UIView source code, but that isn't going to happen. Here why I'm wondering: I'm trying to add a UIWindow (a transparent one with…
jadengeller
  • 1,307
  • 1
  • 14
  • 26
0
votes
1 answer

How to setup view hierarchy for iPad application with Widescreen 16:9 airplay output

I want to create an iPad app that besides the normal ipad screen (4:3) uses a second UIScreen containing a UIWindow in 16:9 widescreen format if a second screen is attached. I use AppleTV for the connection. I do not just want to mirror the ipad…
Etienne678
  • 444
  • 4
  • 12
0
votes
1 answer

Handling rotation UIView programmatically

At the very first start-up, the App handles a housekeeping of a database. it takes a while an, therefore, I'added a translucentview with a spinner and a label telling the user what's going on. In order to have this translucent view on top of…
Marcal
  • 1,371
  • 5
  • 19
  • 37
0
votes
1 answer

How to organize Controllers and Views (iOS)

I want my UITabBarController to be with frame (0;100;320;380). In addition to UITabBarController I want to have a view with frame (0;0;320;100). This view is supposed to be independent from TabBarController and always visible. When different Tabs…
iWheelBuy
  • 5,470
  • 2
  • 37
  • 71
0
votes
3 answers

iOS App window is not getting initialised

So, after spending the last week carefully designing and planning out my app, a request has come in to change it slightly. In order to make this change, I have to have everything as part of a navigation controller so that I can change views…
Dale Myers
  • 2,703
  • 3
  • 26
  • 48
0
votes
2 answers

Logical error or is my program skipping parts?

FYI I'm programming in objective-C but anyone might be able to help. I've been sitting here for the past two hours trying to figure out what the problem is and I've done everything I know to debug this simple little coding problem. Check out the…
0
votes
1 answer

How to put a UIView all time on top screen?

I will show a UITextView with all messages from the NSLog in my debug mode program. It work, but my problem is: I have to show it all times. So, how can I make my view to be showing all time in my program, look like the Status Bar?
Rodrigo
  • 11,909
  • 23
  • 68
  • 101
0
votes
1 answer

Best Practices for more than one UIWindow in an application

Experts, Please share the best approaches and practices that must be taken care while adding a UIWindow on top of current window.(Window1) I have a situation where I have locked the orientation of a view "A" to Portrait in a view controller. Then I…
Kiran Kulkarni
  • 1,434
  • 2
  • 18
  • 40
0
votes
2 answers

On iOS, can we get to the main UIWindow object from the UIScreen object?

Say, if we already have aScreen that points to the main screen, by UIScreen *aScreen = [UIScreen mainScreen]; can we get to the main UIWindow object from this UIScreen object? (do they have any connection at all? That is, instead of using…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
0
votes
1 answer

Adding a view as subview to my app's window but it is not displayed

I'm adding a view controller's view to my window in application:didFinishLaunchingWithOptions: but the view does not become visible. I'm not sure what's wrong. Here's my app delegate code: @class ToolBar; @class MainViewController; @interface…
user1120133
  • 3,244
  • 3
  • 48
  • 90
0
votes
2 answers

iOS 5.0 sendEvent called two [2] times

I subclassed the UIWindow, but for some reason the - (void)sendEvent:(UIEvent *)event gets called 2 times for any interaction with the screen. Any ideas why would that happen?
Zsolt
  • 3,648
  • 3
  • 32
  • 47
0
votes
1 answer

How can I show a modal view in response to a notification as a new window? (no parent vc)

I am having a lot of issues handling my incoming local notifications. My app is using storyboards and has a tabbarcontroller as the rootviewcontroller. Currently I launch the modalviews from 'didReceiveLocalNotification' in the following…
Pieter
  • 1,751
  • 3
  • 30
  • 65