Hello,
I would like to intercept the touch on the camera button to control exactly when I take the picture by using takePicture. I still want to use the standard UI control (so I would prefer not having my custom controls in the overlay).
Touch -> Button Clicked -> My code -> takePicture
(ie. Apple code for taking picture won't be call...
hi frnds,
i am new to this iphone development, in an uiview i have a tableview, in each cell of tableview, i have an image. is it possible to drag or move an images which are in cells, to pos 1 from pos 2 as shown below.
|--------------------------|
| | |
| ui |table(image) |
| |view |...
Hello.
I'm developing an iPhone application.
I have a UIView used to augmented reality. I add some UILabel to that UIView dynamically and I want to know if there is a way to know when a UILabel hide another UILabel added on same UIView.
In other words: I'm adding UILabels at the middle of the screen (y position is always the same, x c...
Hello
I have the following code to create a view and put it in scrollview to allow paging
the code works fine however what I couldn't do is loading views from a nib file
in other words
I want to use "initWithNibName" instead of "initWithFrame"?
- (void)createPageWithColor:(UIColor *)color forPage:(int)page
{
UIView *new...
I'm trying to pass a UIView to another class - which kinda works, but I can't retain the pointer...
in my .h file I declare the view:
UIView *someView;
I add the property
@property (nonatomic, retain) UIView *someView;
And in the .m-file I synthesize the property
@synthesize someView;
Then I have a method to set the view (which...
I have a little UIView object, CircleColorView.m, that simply creates a view with a colored circle in it. I then use that view as the background to a bunch of buttons (all different colors).
My problem happens when the drawRect: method gets called. I crash, but only sometimes, when I reference the object color which is a UIColor.
I am...
Hello
In appdidfinishlaunch I'm loading a tabbarcontroller as subview and after that im loading an other view
MySubView * mySubView = [[MySubView alloc] init];
[window addSubview:mySubView];
[mySubView release];
I want to close that toplayer with a buttonclick in the subview, so I set up an IBAction and tried diffrent things to force...
HI
I have created a chain of UIViews(like tableview cells) on a content view and each UIView has a button on it which(button) has a unique tag associated with it.
Now what I am doing is when the user taps a button a tableView gets loaded just below the view which contains the button which was tapped and the below UIViews gets shifted t...
I'd like some assistance to properly remove subviews from a scrollview, to reduce memory usage. Every time the user scrolls, I ask to grab page, page -1 and page+1 to get the views loaded in the scrollview.
Now my issue is that if there's ten views side by side, when you reach the tenth view, all the previous 9 views are still subviews ...
Hi guys,
I'm just wondering here if there is an in-built view for this. I haven't managed to find it, but then I may not be looking in the right places.
I'm trying to find the effect used in the Album Art view of Music (or iPod) on the iPod Touch (or iPhone/iPad). The effect that scrolls between multiple album covers, pushing all other...
The UISwitch on my device:
The UISwitch on the simulator:
As you can see, the bottom pixels are cut off on the device, but not on the simulator. I have tried just about everything I can think of, but nothing has fixed the problem.
Some of the things I've tried:
Changing the UISwitch's frame's height
Changing the UICell's h...
First, sorry for my bad english.
I need help to reload a dynamic UIView with an UIViewController.
In my UIViewController i have an function to build the View Elements like button,labels or other stuff.
CGRect cgRct = CGRectMake(0, 40, 320, 380); //define size and position of view
UIView *viewContainer = [[UIView alloc] initWithFrame:...
hello everybody. i am creating a dropdown button in my app. Like a pop-up control which is available in webapps. so when i click on a button, a new uiview containing a pickerview appears. i user beginanimations and commitanimations for dispalying and hiding the uiview. the new uiview is half the size of the scrollview.
I want that when...
I looked at Apple's UIModalTransitionStyle, but didn't see what I was looking for. I want to do the same thing that the Facebook iPhone App does; when you touch on a button on the Facebook's homescreen, the new UIView appears (and then disappears when you are done) from the middle of the screen. I would like to implement similar transi...
UIView's that don't handle their events pass them up the chain. By default, this passes them to their parent View, and if not handled (ultimately) to their parent UIViewController.
UIScrollView breaks this (there's lots of questions on SO, variations on the theme of "why does my app stop working once I add a UIScrollView?)
UISV decides...
I am trying to implement a game using the iPhone OS 4.0 (iOS4?) SDK. In the previous versions of the SDK, I've been using the [UIView beginAnimations:context:] and [UIView commitAnimations] to create some animations. However, when I look at the documentation of the functions in 4.0, I see this comment.
Use of this method is discourag...
Hi
How do you obtain the x,y coordinates of a custom UIVIew?
NSLog(@"landscape orientation and myUIView.x==%f and myUIView.y==%f",myUIView.position.x ,myUIView.position.y )
I get the following error
request for member 'position' in something not a structure or union
...
I need to draw a horizontal line in a UIView. What is the easiest way to do it. For example, I want to draw a black horizontal line at y-coord=200.
I am NOT using Interface Builder.
...
I need to capture a UIView and all it's subviews into a UIImage. The problem is that part of the view is off screen, so I can't use the screen capture function, and when I try to use the UIGraphicsGetImageFromCurrentImageContext() function, it doesn't seem to capture the subviews as well. Should it be capturing the subviews and I'm just ...
I am trying to create an iPad application which needs a layout similar to contacts app. I want to have two views side by side controlled by two different view controllers. I was considering using SplitViewController, however as I found out, there is no official way too keep root view from hiding (keeping views side by side like contacts ...