uiview

How to implement views to the pagecontrol

Hello! I'm about to create an App. It should have 3 main pages. So I thougt i realize this with a PageControl. I crated 3 Views and now i stuck on the implementation of this PageControl. Has anyone a good tutorial or a examplecode where i can look at (it can be german too)? Thanks, Michael ...

Partialy clip subviews

I am trying to get a UIView to clip to subviews but not entirely. I mean like an alpha change, outside the bounds Edit: I want this to be like the keynote mask feature for an image in the iPad. ...

Subview shifting down 20 pixels when called in AppDelegate

I'm facing this issue when I'm calling AdMob ad with [rootController.view addSubview:adMobAd]; //setup the ad Upon returning from the ad being clicked the AdMob frame moves down 20 pixels. However it seems that this is not a AdMob issue, but a issue that is also discussed here: http://discussions.info.apple.com/thread.jspa?threadID=2...

How to call a method only once during -(void)touchesMoved ?

Hi, I am using - (void) touchesMoved to do stuff when ever I enter a specific frame, in this case the area of a button. My problem is, I only want it to do stuff when I enter the frame - not when I am moving my finger inside the frame. Does anyone know how I can call my methods only once while I am inside the frame, and still allow m...

How do you add a UIToolbar on top of screen?

Is it possible to have a UIToolbar on the top of the screen? The example application would be like "Calendar" where it has the "+" on the right, and then the "Calendars" button on the left. ...

slightly different scrolling needed after searching

I have a UISearchBar below a header-view. This header is 64px hight. If the searchbar gets touched, the parent view will move 64px up — fine. After finishing searching the parent view will only move down, as long there is still free space below it. And the top is out of the visible bounds. But I want to move it back to the original pos...

UIView has no events

I want to be able to connect the touchUp event of my UIView to an IBAction, but I can't see any events. I thought that there was a subclass of UIView that did have actions. ...

ASP.NET MVC 2: What does the C# View look like that edits nested Entities?

I tried numerous times over the last few weeks to get a server side MVC 2 view to work with objects with nested IList elements without much success. I am missing some fundamental understanding that I hope this question resolves. What I want is a form that shows a list of product where you can change information in-line, including a hie...

All the app in iphone appear in a "grid icon" layout, how can I achieve that layout?

when u first open up iphone, all the app are layout in a "grid icon" type. And if u have too many app, the user swipe to the right, and the new view come out, with again all the app appear in a "grid icon" layout. Can u guys point me to where I can achieve such a design. Code would be very appreciated !!! I did try something and here is ...

iPhone UIPickerView in UIViewController

I have a xib in which I have added a UIViewController named delta. The view under delta is controlled by the delta viewcontroller, not the file owner. On the delta view, I have a UIViewPicker. My issue is that I am programming in the UIPickerView in the deltaviewcontroller and I'm issuing deltaviewcontroller as the delegate and data sour...

iphone sdk: Adding a subview to a tableView

Hi guys I want to add a UIToolbar on top of a tableView, but there is only one problem - the table lines can still be seen through the toolbar. I tried to set set the toolbar's alpha to 1.0 but this didn't work. This looks very odd because I only encountered it in UITableView. Any ideas? Thanks Alex EDIT: I figured out the problem. I...

Is there a way that I can make an overlay view on the iPhone SDK?

I've seen examples of overlay views in different iPhone apps (Skype, Phone.app (while making a call), Google Mobile) and I was wondering how I could do the same in an app. I'm making an app which has a record button in it and when that button is pressed, I want a nice looking overlay (similar to the overlay view that appears when making...

How to make an overlay with round edges (iPhone SDK)?

I've just received a lot of good responses to the question about making overlay views. http://stackoverflow.com/questions/2253334/is-there-a-way-that-i-can-make-an-overlay-view-on-the-iphone-sdk Another question I have is how to make an overlay view have round edges like in the Skype iPhone app or in the Phone.app. Thanks. ...

How do I make a button in the iPhone SDK that will look like the UIActionSheet buttons?

In some iPhone apps, I've seen buttons that look similar to UIActionSheet buttons (example: End Call button in Phone.app). I would like one in a UIView that I've made. Is there a way to do this? Thanks. ...

Draggable UIView

I have 4 UIViews inside of a main view controller view. All I need to be able to do is drag the views around the "screen". Is UIScrollView the best option for this, or is there a simpler way? ...

How to display a score overview

I am busy with a score overview and I was wondering what is the best way to do it. My first thought is that is would be an UITableView because of all the functionality it already got. But because of all the functionality it also has it limitation when you want to change the look. I was wondering what is a better way: An custom UITabl...

Creating a layout within a View-extended class

I am still pretty new to Android development, and I have not been able to find any examples of how to do this. In my Activity, I use "setContextView(new myViewClass)" to designate a View-extended class as the one to load. Everything works fine in terms of loading the view, where I create various elements (LinearLayouts, buttons, etc.) ...

View from the second tab in the background at transition between two views at the first tab (and not a color as is should)

I have an tabbar-application with four tabs. Every tab loades an nib with its viewcontroller. In my first nib i have two views. In the first view (placeholder) is a button to switch to the second view (view1) and reverse (With an Boolean to see if the second view is on top or not). -(IBAction)transitionFlip { [UIView beginAnimations...

How to reference a subview without outlet

Just beginning with iPhone development i seem to miss something fundamental. In a View based application i'm adding programaticaly a UIView subclass in the ViewController implementation file and can set a value: - (void)viewDidLoad { [super viewDidLoad]; CGRect myRect = CGRectMake(20, 50, 250, 320); GraphView *graphView = [[Gr...

Rounded UIView using CALayers - only some corners - How?

Hello ! every one. In my application - there are four buttons named as follows. Top - left Bottom - left Top - right Bottom - right Above this buttons there is an image view / or we can use also UIView. Now, suppose user taps on - top - left button. Above image / view should be rounded from that particular corner. I am having som...