Questions tagged [popviewcontroller]
147 questions
0
votes
0 answers
View Controller with Embedded Navigation Controller linked to tableview
Mainly, my iphone application right now is a UIviewController with navigation buttons, logo, and title on the top of the screen. Inside this controller is a container view, which has an embedded navigation controller which leads to a series of table…

Matt Galloway
- 1
- 2
0
votes
3 answers
how to call popviewcontroller in UITableViewCell
The current structure is
firstViewController -> pushViewController(SecondViewController)
-UIViewController ->filename : secondViewController
-UITableView
-UITableViewCell (custom cell) ->filename : …

hoyeong kim
- 25
- 5
0
votes
1 answer
iOS: Scroll UITableView back to the top after popping ViewController
My UITableView needs to scroll all the way to the top after popping back to ViewController under certain circumstances.
The code below works fine (I edited it for simplicity), but I am hoping to find a better way without using a delay timer. If I…

Curt Rand
- 1,025
- 1
- 9
- 27
0
votes
0 answers
UITabBar disappear after popToRootViewController
My app simplified view hierarchy is the following:
,
|
| |
|
| |
|
| |…

Florian Ldt
- 1,125
- 3
- 13
- 31
0
votes
0 answers
Back from presentViewController distorts the screen - ios objective c
I'll give an overview of what I am trying to achieve:
1) There is screen1 on which there is a header on navigation bar.
2) On a button click, I am adding screen2 (it doesn't have a nav bar) as a child view controller on the first screen
Code for…

A_G
- 2,260
- 3
- 23
- 56
0
votes
1 answer
Passing a value between view Controllers
Objective C - iPhone Application
I have 2 programatically instantiated UINavigationControllers
In controller 1 I push this View
-(IBAction) showStartDateCalendar
{
ModalSetDateController *setStartDate = [[ModalSetDateController alloc] init];
…

logixologist
- 3,694
- 4
- 28
- 46
0
votes
4 answers
Information from pushed viewController to rootViewController
Sort of a simple question. I have a tableview in a navigationcontroller. When I touch a cell, it pushes a view controller with the information from the cell, so I can edit it in the new view. Now thats working correct (we can call it the…

John Kofod
- 196
- 1
- 13
0
votes
1 answer
Pop old viewController
So I have 3 view controllers (and a nav view controller). Starting at VC1 I push to VC2 then when the scene for VC2 is done I pop VC2 then push to VC3. Only problem with that is that the user can see the stack push/popping. Is there anyway I can…

insta catering
- 151
- 2
- 12
0
votes
1 answer
popToRootViewController not removing prompt
I have an app that prompts the user for various information before doing a task. Once all the information is put in by the user, I do a UIApplication.shared.openUrl(url: url) and then self.navigationController?.popToRootViewController(animated:…

Jake
- 13,097
- 9
- 44
- 73
0
votes
0 answers
application crashes when popViewControllerAnimated animation set NO
Its look strange for me Application crashes for me when navigate to back.
// backButtonAction.
-(void)backAction:(id)sender{
[[self navigationController] popViewControllerAnimated:NO];
}
Its really strange when set Animation YES its not…

kiran
- 4,285
- 7
- 53
- 98
0
votes
3 answers
Automatically FirstView controller calls second view controller in viewdidAppear
I am using 2 views in navigation controller in a tab bar. In that First view controller in navigation should automatically call the second view controller without showing First view controller ( by pushing pushviewcontroller on viewdidAppear).…

sathish kumar
- 1,061
- 6
- 16
- 31
0
votes
1 answer
How to access the second last viewcontroller in a navigation controller?
In my storyboard the User has to fill a form.
After that I push a new ViewController onto the navigation stack.
If I now want to change things onto the second last ViewController I need to access it via the navigation stack (I guess). How do I gain…

rockZ
- 815
- 1
- 12
- 28
0
votes
1 answer
Wrong direction arrow when popup shows up
I'm using this function to show a popup view to select image from camera roll:
func selectImage(sender: UICollectionViewCell){
if UIImagePickerController.isSourceTypeAvailable(UIImagePickerControllerSourceType.SavedPhotosAlbum)
{
let…

Maysam
- 7,246
- 13
- 68
- 106
0
votes
1 answer
After popview method called,the scrollview stops work
I have navigation container with A, B views in it.
When A first entry stack, I am able to roll the view because I set the scrollview widget in A view. When I roll to the bottom of A view, B view instance will be created and entry the stack (by…

Joe Indra
- 1
- 2
0
votes
0 answers
popViewController not working if previous controller has uialertcontroller swift
I am using alertcontroller with indicator in FirstViewController, and I use self.dismissViewControllerAnimate to dismiss it. Then in SecondViewController I use popViewController to return to FirstViewController but I can't go back to…

FH-
- 133
- 1
- 9