Hello,
I need to have a preview of the camera but not in fullscreen. Actually I need to resize the camera view to manage place for my overlay view.
I need a resize camera view and not a truncated one.
Do you have any ideas/pointers to achieve this?
Thanks for your help :)
Regards,
...
hello,
I'm designing UI for iPhone application.How should i places a UIView object upon a Navigation ViewController?
Suppose viewObj is the UIView object and uiNavControllerObj is Navigation controllet object?what is the syntax to place viewObj onto uiNavControllerObj?
UIView* viewObj;
NavigationController* uiNavControllerObj;
Edit...
I've been reading the Head First iPhone Development book and I understand how to get to a new view from a table but how exactly would I be able to get to a new view or view controller, by just simply pressing a button? Is that even possible?
I mean there are some apps where you click a button, not a table cell and it loads a new view. ...
I have a view that is moving. The view is sometimes on and sometimes off screen - it is twice the width of the screen.
In this view, there are buttons that I need to be able to click.
I've tried doing this in many ways already - using pure buttons
using touches began on UIView
I'm doing the animation using a CGPath in core animation ...
Hi there
I'm trying desperately to design my UI programmatically.
But I think I'm in trouble to understand the concept.
Basically I want a UI which contains different UIViews and a UITableView.
But now I'm stuck with the UITableView...
So my "main view" which should contain all these views is called AddListViewController(it inherence ...
How do I arrange (in terms of depth) a view's subview to be in front of another view?
The hierarchy looks like this:
A--
-C
-D
B--
-E
-F
(A and B are views with C & D, and E & F, as subviews, respectively.)
B is layered above A, so every subview in B (E and F) is above every subview in A (C and D). How can I make C displ...
Hello,
Consider this as my SubView
UIView *subViewObj;
and this as MainView
UIView *mainViewObj;
i need to make MainView as root View
can i don it in this way?
[mainViewObj addSubview:subViewObj];
is this correct?i need to do it programitically, without using Interface builder.
...
hello,
i've the following code for button creation and on action of button , i'm calling buildUI method
CGRect cgRct = CGRectMake(10 ,30 ,400, 320); //define size and position of view
subMainView_G_obj = [[UIView alloc] initWithFrame:cgRct]; //initilize the view
subMainView_G_obj.autoresizesSubviews = YES;
//set view property ov ...
I was playing with the Google App for iPhone and when i viewed a website the title of the page appeared over the classic status bar with a nice fade-in animation, after 4-5 seconds the title view disappeared with a nice fade-out animation.
How did they do that? did they hide the status bar with [[UIApplication sharedApplication] setSta...
Hey guys. So I am creating buttons dynamically within loadView. Each of these buttons is given an action using the @Selector method, such as :
[button addTarget:self action:@selector(showCCView) forControlEvents:UIControlEventTouchUpInside];
Now that showCCView method is defined outside of loadView, where this above statement is locate...
Hello :)
Inside the titleView of a UINavigationBar, there is a button. Clicking it should slide in a view from the top of the screen.
Where do I have to place the view so it's displayed fullscreen and not only inside the current UIViewController's contentView?
Is there a function for adding fullscreen views?
...
Hello,
More or less, everything is in the title: how to use a UIImagePicker as the main view of the application like for instance for an Augmented Reality App?
Thanks in advance for your help,
Regards,
...
I would like to have a UITextField which aligns to the bottom and to the right. I would like the majority of text to be on the bottom line with putting extra words on the next line as needed. I have been messing around with different layoutSubviews implementations to achieve this functionality. However, the text always fills the top l...
Hi
I have an existing iPhone application which starts from a UIViewController.
What I want to do is add two new table views, one which will require the navigation controller. Can anyone provide info on how to retrofit this into my app or will I need to start again from scratch using the navigation template?
Thanks
Aidan
...
I want to design a view/view controler that automaticaly shows/hides a subview when in landscape orientation. I want the subview to dissapear completely and other subviews to take up its space.
Using a UIViewController, I wrote code that sets the subviews' frame property and call it on:
- (void)willAnimateRotationToInterfaceOrientation...
Hi all,
I have a view controller that manage a view with a table view, a toolbar, a navigation bar and so on.
Inside the toolbar, I have a GPS signal indicator. It is composed of a number of bars with different heights, different colors, and so on depending on signal quality.
The GPS signal indicator is a complex (sub)view that I want...
Hey,
I've setup an own class(custom UIView).
I'am adding two of these customViews to my UIView as subviews.
So now the question araises: How do I animate the subviews?
myCustomView *myCustomViewInstance = [[myCustomView alloc] initWithText:@"myText"]];
[self.viewContainer addSubview:myCustomViewInstance];
myCustomView *myCustomVie...
I have a UIViewController subclass that implement UITableViewDataSource and Delegate.
When a user triggers didSelectRowAtIndexPath I alloc init this second ViewController with presentModalViewController and set my class as a delegate.
When the user finish working on the modal I notify the parent ViewContoller to save his data and dismis...
I am trying to have a UI which is a full screen UIWebView. When the view is touched the tool bar appears.
I can do everything but get the touchend event in the UIWebView. I have tried putting a UIColor.Clear'd UIView ontop and catching TouchEnd there and passing it on, but would like a better solution.
I understand that we are not supp...
I have a UIViewController with a XIB and want to add programmatically another subview.
During the initialization of the subview (initWithFrame) i want to set some attributes to values according to attributes that belong to another Object which holds data (actually a ViewControllers Child-Object, but not a view).
-(id)initWithFrame:(CGR...