Hi there, I've been searching a lot on this, and can't find anything to help me.
I have a UIViewController contained within another UIViewController. When the parent UIViewController rotates, say from Portrait to LandscapeLeft, I want to make it look as though the child didn't rotate. That is to say. I want the child to have the same or...
I feel like this should be obvious to me, but for some reason I can't figure this out. I have a navigation interface with nav bar, tool bar, and primary view. Sometimes the user takes an action that causes a progress indicator to appear in the middle of the view.
While the progress indicator (which is a custom UIView) in spinning in the...
After clicking on a UIView I want to take the user of my app OUT of my app and to another app on the app store. How do i do it?
...
I am trying to have a BLACK colored UIWebView before its contents load. In IB, i tried both making the background color of the UIWebView black, as well as, making it have a transparent background and have its parent view's background be black. Both don't work. When my UIWebView loads the background of it is white. How can I fix this?
*I...
I want to change an image on a view, from a popup dialog of 4-6 icons (imagine like changing your image on a messenger application).
The way I implement this modal popup is by creating a new view at IB, with opacity on the background, and then I load this as a subview:
IconsViewController *iconsViewController = [[IconsViewController...
Hi there,
I'm trying to transform a UISearchBar, like in Mobile Safari: touch in the search field and it grows while the location field shrinks.
My current animation to alter the width and position of the search field only animates the position: just before it slides to the right place, it simply snaps out to the right width. Here's my ...
I have a UIView called goalBar which is being animated by increasing the size of the frame according to a float value called destination:
CGRect goalBarRect = CGRectMake(0, 0, destination, 29);
[UIView beginAnimations:@"goal" context:nil];
[UIView setAnimationCurve:UIViewAnimationCurveEaseIn];
[UIView setAnimationDuration:2.0f];
goalB...
I have a UIView which has about 8 different CALayer sublayers added to its layer.
If I modify the view's bounds (animated), then the view itself gets shrinked (I checked it with a backgroundColor), but the sublayers' size remains unchanged.
How to solve this?
I've just started googleing but haven't found any useful. Thanks in advance.
...
I need to pop up a quick dialog for the user to select one option in a UITableView from a list of roughly 2-5 items. Dialog will be modal and only take up about 1/2 of screen. I go back and forth between how to handle this. Should I subclass UIView and make it a UITableViewDelegate & DataSource?
I'd also prefer to lay out this view in ...
Hi,
I am supporting all orientation for the iPad app. I am adjusting the my view with autoresizingMask for orienttaion changes (main view and tabbar) . But the subviews in the main view are flowing out of the mainview in landscape mode.
so i forced a "setNeedsLayout for the mainview, making subviews in mainview to fit into the mainview ...
Hi,
Anyone have any idea about CASlotProxy Class in COCA(may be Iphone OS framework).I found it in UIView contents.
Thanks,
...
I have a series of (say) boxes on the screen in a row, all subviews of my main view. Each is a UIView. I want to shift them all left and have a new view also enter the screen from the right in lockstep. Here's what I'm doing:
// First add a dummy view offscreen
UIView * stagingView = /* make this view, which sets up its width/height */
...
Hi all!
I've search for some clues on this problem without much success. Hope someone can kick me in the right direction.
I am prototyping a couple of apps where I need to design my own GUI. The GUI is made up by two separated UIViews where one of them contains a small thumb of an image. I want to be able to drag this thumb from the fi...
I have a UIViewController(AbcViewController) with NavigationController.AbcViewController uses
UIView(AbcView) as its view. AbcView has a UITableView. I have set This TableView's datasource in AbcViewController and delegate in its SuperView i.e. AbcView. How will I push another UIViewController(XyzViewcontroller) into navigationController...
Hey,
I've got a UIViewController and an own class, a subclass of UIView.
In my ViewController I make a instance of the uiview.
If I tap the uiview a function gets called within it and an overlay appears.
TO get rid of that overlay later the user has to tap somewhere on the screen(besides the instance of my class)
How do I tell my clas...
OK, bear with me.
I have a UIView which is supposed to cover the whole device (UIWindow) to support an image zoom in/out effect I'm doing using core animation where a user taps a button on a UITableViewCell and I zoom the associated image.
The zooming is performing flawlessly, what I haven't been able to figure out is why the subview i...
I have a .h file containing... myViewController : UIViewController {}
in the .m file I need to load either another view or a tab view depending on choice of the user.
Does anyone have a good example that I can borrow and learn from ??
thanks!!
...
I have UITableViewController (initiated by the Navigation-based app project template). I am overriding loadView and putting up an alternative view (w/ a UILabel and UIActivityIndicator) to display while the table's contents is loading.
When the loading is done, I remove the loading view and try to display the table view but I see that...
In my app, I have a UITableView, grouped style. The table has two modes. In mode 1, it shows one section (A), and in mode 2, it shows 2 sections (A and B). I transition between the two modes via the insertSection and deleteSection methods of UITableView. In addition, I have header text for each section
This works great for the most part...
I am just trying to get my head around simple view switching for the iPhone and have created a simple app to try and help me understand it.
I have included the code from my root controller used to switch the views. My app has a single toolbar with three buttons on it each linking to one view. Here is my code to do this but I think there...