Hi there
I know im missing something but my friend and I can figure out what.
Firstly.. I have two .hs and .ms that I'd like to share data between - two view controllers
In the first .h i have this - that makes the variables and properties them
//top half of .h
//Passing to Submit Page
NSMutableString *messageString;
NSInteger t...
I'm using the Three20 TTMessageController in my app. I've figured out how to use it, adding on a bunch of other stuff (including TTMessageControllerDelegate methods and ABPeoplePickerNavigationControllerDelegate methods). It works great for me, after a bit of a struggle to figure it out.
The trouble I'm having now is a design issue: I w...
I have two views that need to be shown modally, one after the other. This doesn't work if we dismiss and show consecutively, like this:
[rootController dismissModalViewControllerAnimated: YES];
[rootController presentModalViewController: psvc animated: YES];
The second modal view simply doesn't show up.
I've seen a fix that was somet...
Hi!
I'm presenting a modalViewController. After I dismiss the modal view controller with:
- (void)dismissModalViewControllerAnimated:(BOOL)animated
.. the view is still in memory. How do I dismiss it such that it will use memory?
Thanks.
...
I'm trying to hide the iPad keyboard from a modal view controller but it doesn't work. I have tried resignFirstResponder but that doesn't have any affect if we are in a modal view controller. I tried resignFirstResponder in a non-modal UINavigationController with the very same UIViewController and the keyboard hides correctly.
Does anyo...
Hi,
Im trying to load a modal view from a view controller that is displayed in a popover. The modal view loads but the problem is that it transitions into the main view and not within the popover. Is it something Im missing? I thought simply initiating it from a vc within a popover would present the modal view within the same popover.....
I present a modal view controller on my on my iPad with UIModalPresentationFormSheet presentation style and UIModalTransitionStyleCoverVertical transition style.
The Modal View Controller contains a UIWebView with some TextFields on it.
When the user taps one of the text fields the keyboard comes up.
I have noticed that in landscape mod...
I currently have a UIWebView that is displayed within a modal view. It is basically a detail view that provides a view of a page when the user clicks a link. When the view is dismissed and then brought up again (when the user clicks another link), the previously-loaded content is still visible and the new content loads "on top" of the ...
-(void)displayFirstScreen
{
UIViewController *displayViewController=[[UIViewController alloc] init];
displayViewController.view = displaySplash;
[self presentModalViewController:displayViewController animated:NO];
[self performSelector:@selector(removeScreen) withObject:nil afterDelay:2.0];
[displayViewController rel...
I have a name and password in NSUserDefaults for login. I have this in my 1stTab View.m class to test for presence and load a login/signup loginView.xib modally if there is no password or name stored in the app.
Here is the pulling of the defaults:
-(void)refreshFields {
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaul...
Hey Guys,
i've created a login screen via a modalviewcontroller. But certainly i have a problem to display a uiactivityindicator once the loginbutton was pressed.
Instead the activityindicator seem to be displayed for a minimal period of time, when releasing the modalviewcontroller.
Does anyone know the problem.
Could anybody help me ou...
I have a problem opening and closing of a ModalView: when the user touches the button to open the view, or when it touches the button to close it, appears this message in Console:
The view controller returned NO from _shouldAutorotateToInterfaceOrientation: for all interface orientations. It should support at least one orientation.
Th...
Hi all,
I'm creating a simple modal ViewController. I'm creating a nib with a button and on that button press calling a method to display modal viewController in which I'm creating the viewController and a button inside it like this.
UIViewController *modalViewController = [[UIViewController alloc]initWithNibName:nil bundle:nil];
moda...
Hi all,
In my application, I'm launching a modalViewController on rightbarbutton click of navigationbar. This modalViewController overlaps the navigationbar. I tried setting its frame but it remained the same. I want to display navigationbar even if modalViewController is still there.
EDIT: I call the following method on navigationcont...
Hi,
I present a modalView using UIModalPresentationFormSheet, when I use
self.view.backgroundColor = [[UIColor clearColor];
everything is working fine.
My problem is when I use a UIModalPresentationFullScreen, the color don't want to be clear, even an alpha on the view is not working.
Soemone have an idea?
...
Hi,
What is considered the best practise when pushing a modal view when using a UISplitViewController? Would you push from the RootViewController, the DetailViewController or directly from the Application Delegate?
Ideally the functionality I am trying to achieve is to have the modal view controller displayed as soon as the UISplitView...
I'm writing an iPhone app. Starting from a view controller in a navigation stack [called EditCreatorController], I am presenting a custom modal view controller [called BMSStringPickerController]. I have created a delegate protocol, etc. per the Apple guidelines for passing data back to the first view and using that view to dismiss the mo...
I currently have three modalViewControllers and each have their own ways to dismiss.
For Two of them, I have to use UILabel and then have using the touchesEnded: method to determine whether the release was within the proper area - then call to dismiss the modalViewController.
However, I have one where I can just use a UIButton and it w...
This question is a follow on from the following:
http://stackoverflow.com/questions/3235967/uitouch-event-not-responding
I done more research and I know what the problem is, but I don't know how to solve it or even if it can be solved. I may have to take a new approach.
I have a RootViewController and from this I load a second ViewCon...
I'm trying to present a viewcontroller modally:
- (IBAction)addReference {
ReferenceAddViewController *referenceAddViewController = [[ReferenceAddViewController alloc] initWithNibName:@"ReferenceAddViewController" bundle:nil];
[referenceAddViewController setDelegate:self];
[self presentModalViewController:referenceAddViewC...