uiviewcontroller Questions
7
Solved
I have a view controller with a child view controller.
tab bar controller
|
|
nav controller
|
|
UIPageViewController (should rotate)
|
|
A (Video Player) (shouldn't rotate)
|
|
B (Controls overla...
Tuba asked 2/2, 2015 at 12:44
6
As of now, I have an application built entirely using UIKit. However, I wish to be able to start implementing some SwiftUI Views to replace some UIViewControllers.
I've been able to do this to na...
Flagstad asked 19/2, 2020 at 18:3
12
I have a UIViewController which have only a UIView which covers 1/3 of the viewController from bottom. Like this
I want to present this viewController on an other ViewController. It should appea...
Isoniazid asked 8/2, 2017 at 7:20
15
I am trying to hide the navigationBar when putting some SwiftUI inside of a UIKit UIViewController:
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.navigation...
Orlan asked 5/11, 2019 at 4:49
12
Solved
The home page of my app has UIButtons, btnIncome and btnExpense. Pressing on this buttons pushes IncomeVC and ExpenseVC respectevely,which are two UIViewControllers with UITabBar added via xib. The...
Edla asked 17/5, 2013 at 12:3
18
Solved
Since my app got support for all orientation. I would like to lock only portrait mode to specific UIViewController.
e.g. assume it was Tabbed Application and when SignIn View appear modally, I onl...
Pomfret asked 9/3, 2015 at 9:29
12
Solved
I have an app which is a single view application. I have a navigation controller linked up to all child controllers from the root view controller.
In each child controller, I have a logout button....
Haerr asked 4/11, 2015 at 11:38
19
This is my first application for iOS.
So I have a UIVIewController with a UITableView where I have integrated a UISearchBar and a UISearchController in order to filter TableCells to display
overr...
Stagehand asked 21/9, 2015 at 13:32
25
Solved
Let's say, I have an instance of a view controller class called VC2. In VC2, there is a "cancel" button that will dismiss itself. But I can't detect or receive any callback when the "cancel" button...
Boarding asked 29/9, 2015 at 20:29
2
I'm trying to listen to changes for the presentedViewController, but it doesn't look like that property is KVO compliant (or at least I'm not able to get changes from it). Is there a way in UIViewC...
Telega asked 24/10, 2013 at 15:3
7
I have an Assertion Failure in UIPageViewController.
Assertion failure in -[UIPageViewController _flushViewController:animated:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3512.6...
Laster asked 16/3, 2017 at 12:12
4
My root view controller's implementation of supportedInterfaceOrientations almost always returns UIInterfaceOrientationMaskAll, however there is one edge case where it returns UIInterfaceOrientatio...
Cathartic asked 31/10, 2012 at 1:47
6
Solved
I have a UITableViewController subclass that I have wrapped in UIViewControllerRepresentable.
I have set the navigationItem.title and navigationItem.leftBarButtonItems in my view controller.
I pre...
Aurthur asked 11/12, 2019 at 23:10
11
Solved
I am getting this error when I call my method dismissView. Here is the method stub:
-(IBAction)dismissView
{
RootViewController *rootController = [[RootViewController alloc] initWithNibName:@"Roo...
Caliban asked 1/2, 2010 at 20:9
30
Solved
Is there a built-in way to get from a UIView to its UIViewController? I know you can get from UIViewController to its UIView via [self view] but I was wondering if there is a reverse reference?
Ulrich asked 27/8, 2009 at 11:22
10
Solved
I need an instance of root view controller.
I tried those approaches:
UIViewController *rootViewController = (UIViewController*)[[[UIApplication sharedApplication] keyWindow] rootViewController]...
Hecht asked 14/9, 2012 at 4:33
8
Apple has finally released an Apple Maps-style "bottom sheet" control in iOS 15 in 2021: UISheetPresentationController.
This type of sheet natively supports "detents", the heigh...
Landau asked 9/6, 2021 at 16:34
8
Solved
iOS 13 introduces a new design of modalPresentationStyle .pageSheet (and its sibling .formSheet) for modally presented view controllers…
…and we can dismiss these sheets by sliding the presented...
Flasket asked 5/6, 2019 at 11:11
25
Solved
In my case parent UIViewController contains UIPageViewController which contains UINavigationController which contains UIViewController. I need to add a swipe gesture to the last view controller, bu...
Proclivity asked 28/2, 2014 at 14:55
11
I am pretty new to iOS development and I was poking around in storyboard in Xcode 4.5.2. I started a new tab bar project (5 tabs) and then dropped in some images (UIImageViews objects) to them, eve...
Bindle asked 18/1, 2013 at 15:17
2
Solved
I am trying to create a custom UIView that I can use in my other UIViewControllers.
The custom view:
import UIKit
class customView: UIView {
override init(frame: CGRect) {
super.init(frame:f...
Terrel asked 4/12, 2015 at 3:28
2
Solved
Unbalanced calls to begin/end appearance transitions for <****.ViewController: 0x7fa425f07120>
I have seen a lot of other stackoverflow posts related to this error, but I'm not able to understand it (and thus, don't know how to solve) in my case.
Most of the responses in stackoverflow posts ...
Estriol asked 12/10, 2022 at 7:29
5
Solved
I want to pass my data from one ViewController to another VC on VC dismiss. Is it possible?
I've tried the next method and no success:
On button click:
self.dismiss(animated: true) {
let story...
Truditrudie asked 30/4, 2017 at 13:0
2
Solved
As it is said from the title, when I try to push UIViewController with UITableView in it and show LargeTitle, it shows for the very first moment and then hides to the small one.
It's weird but thi...
Gymnastics asked 24/9, 2017 at 16:11
22
Solved
I have a long View Controllers hierarchy;
in the first View Controller I use this code:
SecondViewController *svc = [[SecondViewController alloc] initWithNibName:@"SecondViewController" bundle:...
Etheridge asked 31/5, 2010 at 14:37
1 Next >
© 2022 - 2025 — McMap. All rights reserved.