I have a UIPickerView added as a subview to my main view. I also have a series of textfields in the main view, so the picker view covers some up. So I was wondering if it is possible to move the main view (containing textfields) while the picker view (subview added to main view) remains stationary?
...
hello,
i have a ScrollView with Buttons.
how to insert a view (which contains some informations) with a vertical slide down animation UNDER the selected button ? (and then disappear if clic "Done")
I really don't know how to proceed.
can you hellp me please ?
thanks a lot
...
In have a UITabBarController with 3 view controller subviews.
The default subview for the app is viewOne (with viewControllerOne). The other two are viewTwo and viewThree with the ordering in the UITabBar as expected.
My objective is to have an action be done when viewTwo is selected in the UITabBar while viewOne is active.
The viewTwo...
how do i programmatically exit a view in an iPhone app
...
How can I detect touches in a UIviewController for a UIView with code only (without Interface Builder)?
I found the touchesBegan method but it doesn't get called ever. I didn't initialize anything else regarding this method.
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
...
I've got a UIView that I'm adding to a cell's content view in a particular section (Section 1 specifically), as shown below:
[cell.contentView addSubview:self.overallCommentViewContainer];
When I quickly scroll up/down - the UIView appears in Section 0 - even though I never added the UIView to any of the cell's in Section 0.
Here's a...
I have the following subview chain:
UIViewController.view -+
|-> UIView (subclass) -+
| +-> UIToolbar
|
+------------------------> UIWebView
In the subclass, I override its -touchesEnded:forEvent: method in order to hide a...
I'm curious what the best method is for managing the traversal through several views without burning screen space using a navigation bar.
As an example, assume I have four UIView's with associated UIViewController's:
1: Top level menu (invokes A or B.1)
1.A: Menu selection A (return to 1)
1.B.1: Menu selection B, part 1 (invokes B....
My data visualization app incurs a large memory consumption spike during redraw (setNeedsDisplay which triggers drawRect). I am currently redrawing the entire view that houses the data plot. This view is much larger then the device display.
Is there any way to tell CoreGraphics to allocate just enough memory to draw each element (each e...
I am trying to conserve memory consumption in my visualization about. I have a scrollView with a containerView that contains some child views. I would like to eliminate the CALayer of the scrollView and containerView. So, just the child views consume memory during redraws, etc.
How do I do this?
Thanks,
Doug
...
I'm having trouble getting my SubViews properly initialized using Interface Builder. I have the following View hierarchy (UIWindow -> BlankCanvasView -> StalkerView). BlankCanvasView is a subclass of UIView and StalkerView is a IBOutlet of BlankCanvasView
@interface BlankCanvasView : UIView {
IBOutlet UIView *stalker;
}
@end
I've...
I am trying to place a "Dismiss" or "Done" button in the top right corner in a navigation control for a ModalView that closes the view. Using a normal UIView, I am able to do this. However, when I try to use a UITableView for my ModalView, I am no longer able to set the BarButton's target to a parent controller.
The "dismissModalContro...
I want to make a UIView or UIImageView that is a circle. Or a circle that i can change the size of using a slider, and the color of with a pickerview.
...
I'd like to utilize UIViewAnimationTransitionCurlUp more often in my applications however it has a very annoying trait... namely that the first 20% to 35% of it is non-action... I know this is the case because I set an animation duration to 20 seconds to confirm my suspicions that the culprit wasn't simply setup time internal to [UIView]...
I'm working on an iPhone app with some simple animation.
I have a view I want to translate, but not along a line. I want to translate it parabolically. Imagine that I am animating a car moving along a curved road.
I know I can set the transform properly to an instance of CGAffineTransform
Problem is, I have no idea how to create the ...
Hi all,
I am using core-plot library to draw a bar-chart on my iPhone application and the problem arises when I try to add a label or some other views to the graph,
Actually the view I added is drawn vertically invert like this ........
The code is like
UILabel *lbl= [[UILabel alloc] initWithFrame:CGRectMake(250, 90, 70, 25)];
[...
Is this possible? I can change the opacity and position (center) of the layer but whenever I try to change the size or origin, it doesn't work.
CAAnimationGroup* anigroup = [CAAnimationGroup new];
CGMutablePathRef thePath = CGPathCreateMutable();
CGPathAddRect(thePath, NULL, CGRectMake(0,0, 320, 480));
CGPathAddRect(the...
Hi everyone!
Did anyone tried to resize an video, for adding more views around it?
Can anyone give me any hint/recommendation?
Thanks in advance!
...
Hi,
I am new to the objective c coding in iPhone. i am using below code in separate function to start the animation.
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:10.0];
object.transform = CGAffineTransformMakeRotation(1.57);
[UIView commitAnimations];
After this i am trying to restart the animation in one mo...
Hi all,
I'm using the UIGraphicsGetImageFromCurrentImageContext() function to capture the screen contents into an UIImage object (previously rendered into an Image context). This works great for both the simulator and a real device, however in the latter the resulting image has a few pixels with distorted colors, as seen here:
Please...