Hey,
I have a UIView with several subviews: one UIImageView and a couple of UIViews. When I change the frame property of the view, the imageView's size changes accordingly, but the rest of the subviews remain in their original size!
I can't figure out what I'm doing wrong. Can anybody help?
Thanks,
...
Hi There everyone... looking for some advice on what type of view can be used to build a screen with the following elements:
2 labels followed by 2 buttons.
Then a small table view with 3 rows.
Should a UIView be used or a UITableView?
I've attempted using a UITableView - however I couldn't add the labels or buttons.
So I've now built...
I have created an up/down arrow segmented control button on the right side of the navigation bar in my detail view. In a table based application, how can I use these up/down arrows to move through cells in the parent table?
The apple "NavBar" sample code has an example of this but the controls are not functional.
The iBird program has ...
I have a UIImageView that I create progmatically right? Works like a charm when I initWithImage and set the parameters for scaling to UIViewContentModeScaleToFill. I can scale all day long and create many different smaller 'thumbprint' sized versions of the UIImageView at whim, HOWEVER when I add subviews to said UIImageView and then try...
I am beginning in iPhone development and have followed a few tutorials, but please indicate me if I'm going in the wrong direction. I have implemented my own UInViewController and a login screen view (with its xib).
What I would like to do is that after clicking on the login button, it displays the RootViewController.xib, which includ...
I'm creating a navigation-based app which displays a graph, rendered with openGL, and a tableview listing disclosure buttons of all of the elements that are displayed on the graph, and a settings disclosure button.
The navigation controller is also a tableview delegate and datasource, and the tableview is added to the view programatical...
I have been trying to find this issue here, but no topic seems to fit...
I have a UINavigationController that pushes different kinds of UIViews containing images. When the controller pushes a new view, it the navigation bar is moved onto the screen and it appears that the image subsequently is being 'squelched' a bit - or it 'moves in fr...
I have a view based app that works well. (In other words, I'm not going to start over with a Navigation-Based App template.)
It's an immersive app of sorts and I'm trying to add a Table View that loads in a new view when a button is pressed.
The loading the nib part works, but I can't seem to be able to add a navigation controller to ...
Hi there,
I am primarily a web developer (ruby, python) that is new to iPhone development. I've done some desktop development in the past within the MS environment (C#), but never anything on the mac.
I'm trying to build a really simple iPhone application and I am confused by the way that views work in general. If someone can provide a...
The Problem
I'm trying to create a visual radius circle around a annonation, that remains at a fixed size in real terms. Eg. So If i set the radius to 100m, as you zoom out of the Map view the radius circle gets progressively smaller.
I've been able to achieve the scaling, however the radius rect/circle seems to "Jitter" away from the P...
hello,
i have a UIView UIImageview UIButton and UISlider added as subview to UIView
example:
[view addsubview:uiImageview_obj];
[view addsubview:uiButtonview_obj];
[view addsubview:uiSliderview_obj];
When i zoom the uiimageview_obj, it covers uislider and uibutton also, hence i cannot use uislider and uibutton when i zoom the image....
Hello, I am getting a strange behavior with FbConnect UIView "SessionViewController" can anyone please help me to sort it out? Any help, i am tryig to figure out since 4 days why it not working.
Here is my Scenario :
I am loading the SessionViewController from a UInavigation Controller. If i do a login SessionViewController it works f...
I have the following code in a UIView subclass that will move it off the screen with an animation:
float currentX = xposition; //variables that store where the UIView is located
float currentY = yposition;
float targetX = -5.0f - self.width;
float targetY = -5.0f - self.height;
moveX = targetX - currentX; //stored as an instance varia...
I have some pretty standard flipping action going on:
[UIView beginAnimations:@"swapScreens" context:nil];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self.view cache:YES];
[UIView setAnimationDuration:1.0];
[self.view exchangeSubviewAtIndex:0 withSubviewAtIndex:1];
[UIView commitAnimations];
To Apple...
Hello-
Here's my setup. I have a viewcontroller that I'm creating and adding as a subview. The viewcontroller presents some options that a user can chose from. The viewcontroller is being pushed in response to a "long press" gesture. Within the viewcontroller, I added a child UIView to group some other controls together so I can move th...
I have this UIView class.
It has 4 Views in it:
self.view. The view of the class
itself.
Above that twitterButtonView that holds:
A UIImageView of a button.
Above that a hidden view of the back of the button.
The self.view has a frame of (30, 380, 68, 66);
I want to be able to tab the button and then it scales up accompanied by ...
Example: I have a CGPoint in window coordinates:
CGPoint windowPoint = CGPointMake(220.0f, 400.0f);
There is aView which has a superview in a superview in a superview. Somewhere deep in the view hierarchy, probably even transformed a few times.
When you get a UITouch, you can ask it for -locationInView: and it will return the coordin...
So, in an iPhone app I am working on, I've decided that the best way to display all the contents to the user is to have the top part of the screen show some information, and the bottom of the screen show different information. However, the bottom part will change sometimes, so I was working on implementing that.
Another app that does t...
Is there ever a time when the touchesBegan, touchesMoved, and touchesEnded methods would be handled inside a UIViewController vs. UIView?
I understand that they are typically used in a custom UIView but I am curious about this situation.
Thanks
...
My program has 4 buttons and each button calls a different table view. That works fine, but my problem is, the view controller I'm using brings up a table view that covers up my navigation bar and my tab bar. I need to replace that coding with something that will bring up a table and not cover up my nav and tab bars. Here is the coding I...