Monotouch Classes
What does MonoTouch.Foundation.Register do? For example: [MonoTouch.Foundation.Register("CalendarDayViewController")] When do I have to add the above? For a .xib to recognize it? Or in place of a .xib? ...
What does MonoTouch.Foundation.Register do? For example: [MonoTouch.Foundation.Register("CalendarDayViewController")] When do I have to add the above? For a .xib to recognize it? Or in place of a .xib? ...
Hi All, I have a quick question I'm hoping someone out there might have an answer for. I have a tab bar app that I have built that has navigation controllers on tabs 1 & 2. The first tab appears to let my view slide underneath of the navbar at the top, while the second doesn't. The second tab is a favorites section where I am allowin...
I'm diving into iPhone OS development on the iPad and one of the things I'm playing with is the SplitView template. The template provides a window with a UISplitView view, containing the Root View (on the left of the window) and the Detail View (on the right of the window). The Root View is a subclass of a TableView. Rather than havin...
In portrait orientation my view is 744px in height. I want to change this height when it is in landscape view. How can I do this? ...
I have a View that contains a UITableView and a UITabBarController. I have set my IBOutlets, but the UITabbarController does not appear. Do I need to do anything else to allow it to appear? Note: I don't want the tab-bar to be displayed throughout the entire application. Only on one specific view. ...
I have an NSSegmentedControl with two segments set to "Select None" mode in Interface Builder. No matter what I try, I can't get -selectedSegment to return anything but 0, even though segment 0 is even disabled by default and can't possibly be selected. Here's the relevant function that gets called when you click any segment on the contr...
In my iPhone app I am developing, I have defined two windows: @interface The_NoteAppDelegate : NSObject <UIApplicationDelegate> { IBOutlet UIWindow *newNoteWindow; IBOutlet UIWindow *homeWindow; } @property (nonatomic, retain) UIWindow *newNoteWindow; @property (nonatomic, retain) UIWindow *homeWindow; and they are linked correctl...
How has Apple designed the View that you get when you look at an app summary in the Featured section of the App Store ( http://i44.tinypic.com/20gfgjr.jpg ) ? There seem to be 2 ways of doing it: Using a UITableView and then creating custom UITableViewCell items for each row Using a UIScrollView and then adding UIView subviews Any r...
Hi. I've been playing with the iPad's SplitView template in Xcode. Here are two of the many important methods that are auto-generated for you by the Split View-based Application template... AppNameAppDelegate.m #pragma mark - #pragma mark Application lifecycle - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOpt...
I have a UITextView on a View that becomes the first responder. When I embed the UITextView inside of a UIScrollView in Interface Builder the UITextView is no longer the first responder. I am not sure what has changed? I would like the UITextView to become the first responder. - (void)viewDidLoad { [super viewDidLoad]; [scroll...
I have a modal view with a textview and a button. When the keyboard is displayed it covers up some of my UI elements. I'd like my modal to be scrollable so that it can be viewed while the keyboard is displayed. How can I do this? ...
I'm using Quartz to do some basic drawing. I recently decided I wanted a background image for my app. So I went into my XIB file and added a UIImageView and set the background, looks good. However, when I run it, the Z-Index of the image is above my drawing. I googled a bit and found that you can do Layout > Send to Back in IB...but ...
Hi everyone! I'm working on an app for the iPad and am a little over my head with one issue. Is it possible to build an app for iPad that uses a function to control which interface layout is displayed? Something like "if these parameters are met, use XIB file "a" else use XIB file "b". I know that's not in any kind of legitimate format, ...
I would like three menu items on the menubar with the keyboard shortcuts cmd-1, cmd-2, cmd-3. This I know how to do. Each menu item would open up a different window (win1, win2, win3). I want it so that only one instance of each window is permitted to be open at any one time (i.e. only one win1, one win2, etc). How is this best approa...
I have created a UIView as a subview and to that subview I have added a UIImageView as a subview. UIView *viewCreated; UIButton *buttonCreated; UIImageView *imageViewCreated; CGRect myFrame = CGRectMake(0, 0, 1024, 1024); viewCreated = [[UIView alloc] initWithFrame:myFrame]; [viewCreated setTag:intTag]; viewCreated.backgroundColor = [UI...
I have some XIB files which are very difficult to edit because many of the subviews overlap each other completely. For example, if I position a popup volume slider where it will pop up, it covers some UILabels which become impossible to click. My only chance to be able to edit them is to double-click on them in the Document window tree, ...
In my app I work with an UINavigationController. I've added it to the window (MainWindow.xib, with IB) and simulated on my main view (in IB: Simulated User Elements / Top Bar / Navigation Bar). Navigation bar is displayed, but its height isn't standard. At least in IB it is bigger than in launched app. What's wrong? And how can I resto...
I'm sure this is a really simple problem but I am pulling my hair out over it! I have a subclass of NSWindowController called WinAController. This has been created in IB and is in MainMenu.xib. I have a separate nib called WinA.xib that contains just a single window. In this nib, I have set the following: Class of File's Owner to Win...
I've got a table with custom cells brought in from an IB file. Cell is created like this: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *MyIdentifier = @"MyIdentifier"; MyIdentifier = @"BasicCell"; BasicCell *cell = (BasicCell *)[tableView dequeueR...
I've been trying different things the last few days and I've run out of ideas so I'm looking for help. The situation is that I'm displaying my in-app purchasing store view after the user clicks a button. Button pressed, view is displayed. The store shows fine. Inside this view, I have a few labels with descriptions of the product, and th...