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
-2
votes
1 answer

UIButton does not respond to tap when added inside a subview on UIWindow

I have a pop-up that I need to show on UIWindow. The pop-up has 3 buttons. The pop-up is perfectly added to the window but the buttons on the pop-up does not respond to touch. Here is my code to add pop-up to window: let windowCount =…
Sushil Sharma
  • 2,321
  • 3
  • 29
  • 49
-2
votes
1 answer

Can we create an iOS app without UIWindow?

Can we create an empty iOS app without UIWindow. Need to create an dummy app without any ui window.
vivekDas
  • 1,248
  • 8
  • 12
-3
votes
2 answers

rootViewController and addSubview in Objective-C?

Im starting to learn OC. The first question is about _window.rootviewcontroller and [_window addSubview:...] Both of the two ways can set view for UIWindow (actually, UIWindow is inherited from UIView). So what I want to know is : Is setting the…
Daizy
  • 331
  • 2
  • 5
  • 12
-3
votes
3 answers

How to switch window view

In my app I have one .xib file with three Windows. I'm not using Storyboard. To change the view between Windows when pressing a button, I used this code: -(IBAction) SwitchView1 { [window setHidden:NO]; [window1 setHidden:YES]; [window2…
CrazySoftware
  • 133
  • 1
  • 2
  • 10
1 2 3
43
44