uiwindow Questions
6
Solved
32
Solved
I'm using Core Data with Cloud Kit, and have therefore to check the iCloud user status during application startup. In case of problems I want to issue a dialog to the user, and I do it using UIAppl...
3
Solved
I'm working with an old Xcode project which is roughly 7/8 years old and I've migrated it to Objective-C 2.0 and to support ARC. The project didn't support Auto-Layout (this was just before it was ...
Adrenal asked 9/7, 2019 at 9:39
6
Solved
I have only one window and I tried
UIWindow* mWindow = [[UIApplication sharedApplication] keyWindow];
but this returned nil.
I also tried:
UIWindow* mWindow = (UIWindow*)[[UIApplication shared...
Caddell asked 23/9, 2010 at 19:56
18
Solved
I have a tab bar application, with many views. Is there a way to know if a particular UIViewController is currently visible from within the UIViewController? (looking for a property)
Incudes asked 5/5, 2010 at 23:25
8
Solved
I have a UIView that displays a popup after it's been clicked.
The popup needs to be added to the main UIWindow to make sure that it goes on top of everything else.
I want the position of this pop...
Heptachord asked 11/8, 2011 at 15:44
8
Solved
The position of a UIView can obviously be determined by view.center or view.frame etc. but this only returns the position of the UIView in relation to it's immediate superview.
I need to determine ...
Ogle asked 23/9, 2009 at 11:23
4
Solved
Is there any way to disable the screen recording? or is is possible through a configuration profile? or any third party library is available?
13
Solved
One of my old apps is not working with iOS8. When I start the app up, and try to tap on the screen anywhere, I get this message in my console:
unexpected nil window in _UIApplicationHandleEventFro...
1
Currently, with iOS 14.6, I can call a function in my app that displays a share sheet using the following code:
func share(link: URL) {
let activityView = UIActivityViewController(activityIt...
2
I was trying to follow this tutorial to create a multi screen application:
https://www.youtube.com/watch?v=UYviLiI2rlY&t=774s
Unfortunately at min 25:00 - 26:00 I receive an error and my exte...
Abohm asked 13/4, 2020 at 15:25
10
Solved
In my app I want to create a new UIWindow over the main UIWindow, And I wrote as following, but it don't works.
first, i create a UIWindow as the main window, and then make it key and visible, and ...
4
Solved
I have an html-javascript page, and I need to detect whenever it open on web view (Like inside facebook webview, twitter webview, etc.), and if it a webview - display another content.
Note: I do n...
Fishworm asked 6/8, 2015 at 6:30
2
I use to contextually switch key UIWindows in my app to provide a bit cleaner flow – Welcome window => Main screen with items list <=> Item container with burger menu and stuff.
Example funct...
Katakana asked 29/4, 2016 at 11:19
3
I was able to create a unified toolbar in Mac Catalyst with this in the SceneDelegate.swift:
// Use a UIHostingController as window root view controller.
if let windowScene = scene as? UIWindowSce...
Quartana asked 8/11, 2019 at 23:51
2
Solved
I'm trying to build my app with Xcode 11 beta 6 and iOS 13 beta 8 but it throws this error once it starts to run:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', re...
Tamis asked 5/9, 2019 at 8:34
3
When I show an alert with UIAlertController, the alert itself presented in a new window. (for now at least) And when the alert window dismisses, system seems to set a random window key-window.
I a...
7
Solved
I thought it was easy as [myWindow resignKeyWindow] and [self.window makeKeyAndVisible] but I guess not… Would you guys know what to do?
Thanks :)
Scurvy asked 28/12, 2010 at 7:47
0
In a project a root view controller is being swapped at some point to recreate a whole window hierarchy. A pretty standard code is called simply using
windows.rootViewController = newController
bu...
Wetnurse asked 19/10, 2020 at 20:1
12
Solved
I am upgrading my app to use the new UIScene patterns as defined in iOS 13, however a critical part of the app has stopped working.
I have been using a UIWindow to cover the current content on the ...
Oswald asked 16/7, 2019 at 15:20
3
Solved
I've always seen references to an app's 'window', and I see that AppDelegates usually have a UIWindow property called 'window'. So I'm just wondering how to perceive this UIWindow object. I see tha...
Catastrophe asked 16/8, 2013 at 21:22
4
Porting a game to macOS Catalyst, but window is quite small. Is it possible to start in full screen instead?
Disjuncture asked 23/10, 2019 at 15:23
4
Solved
I have same issue as explained in this question:
Where can I change the window my app uses from UIWindow to my own subclass "MyWindow" with storyboard?
My question is how do i implement...
Aspirator asked 1/5, 2012 at 19:31
4
I am facing an issue in Xcode 11 beta.
The problem is that I am not getting default window variable declared in AppDelegate file.
Is anybody facing this same issue?
Phospholipide asked 15/6, 2019 at 14:2
2
Solved
I am trying to passing my managedObjectContext to the next controller.
I innate a UIWindow instance in my appDelegate file, as I need to obtain my stand by controller.
However, Xcode said my UIWind...
Typehigh asked 1/10, 2019 at 13:15
1 Next >
© 2022 - 2025 — McMap. All rights reserved.