I have a UIImageView that I allocated inside of a UIView. I want to double tap that subview using the TOUCHESENDED or TOUCHESBEGAN and send a callback or at least a log. I would appreciate anyone who can upload some code.
...
Hi,
I have a UIView inside my xib in IB and inside that is a UIScrollview that is a small 80x80 square and dynamically loaded with 8 or so 80 x 80 thumbnail images.
The UIScrollview is not clipping the images so that they extend out either side so you can swipe left and right to scroll a chosen image into the the centre, paging is on s...
What is the best approach to implement tabs that look like web applications on the iPhone, like the screenshot below (notice the "Checkin-Info-Friends" tabs)? These are not part of the UIKit standard library, but seems to be very common lately.
I've spent considerable time developing applications for the iPhone, but not developing contr...
Hi Everyone, I am having a strange issue with displaying a custom image in my UIView. I have a table view that is setup displaying 4 cells, and then behind that I would like to have a custom image. Right now it is looking like this:
where the tan is the background color I want, and the grayish color right next to the cells is the color ...
I'm gussying up a Cocoa-Touch UI composed of basically two view hierarchies. Users need to drag objects from one (hierarchyA) INTO the other (hierarchyB). The problem I'm having is with the layering of these views, especially as they're being dragged. I don't know of a way to allow parts of hierarchyB be layered below a UIView from hiera...
Assuming I load a view controller from a nib, and decide to do something with one of its subview behind the scene. At a later moment in time, I would show the view of this view controller.
viewController = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil];
[viewController.someSubview doSomething];
//later on
[...
I want to switch between a couple views with a flick gesture using two fingers. If anyone can tell me what I need to do please help.
...
How do I switch between multiple UIView's using one UIViewController just like the iPhone home screen. If you need clarification please ask, don't thumbs down please.
...
How would I build multiple UIViews with multiple subviews and switch between them using a UIScrollView? I would appreciate anyone who can upload some code. I am a complete noob withe the iPhone.
...
Has anyone seen an implementation of an "accordion" (maybe called "animated outline") view for the iPhone? I found an example project for Cocoa, but before trying a port, I was hoping that someone has invented the wheel already.
To make it clear, in a UIView, consider a stack of sections, each containing a header, and then some contents...
How does one code this scenerio in iphone sdk?
In an expense app, when you want to add an expense, this view comes up.
After selecting "Clothing," another view slides up with a UIPickerView control that has a "done" button which will dismiss the UIPickerView. Below is a screen shot after hitting "Clothing."
I'm trying to figure o...
Hi guys.
I've coded a "generic" ads management class for all my applications and i have an issue. This class can add an ads view to any view of my application, randomly; in order to do so, my idea is to resize the frame of my current view to reduce its height (let's say 50 pixels less) and add my ads view in the free space i created. Th...
Hi, so I have a UIImageView in a UIView but when I run it in the iPhone Simulator, the image goes beyond the boundaries of the UIView. What's wrong...?
...
I'm trying to build an iPhone application that has two subviews in the main window. Each view has its own UIViewController subclass associated with it. Also, within each controller's implementation, I've added the following method:
-(BOOL)shouldAutorotateToInterfaceOrientation:
(UIInterfaceOrientation)interfaceOrientation {
ret...
I'm adding a custom button/keypad to my application. Thus far, I have a UIImageView subclass that contains an animation that slides it from the bottom of the screen, and then back down when the user no longer needs it. I'm having trouble adding UIButtons to this UIImageView, however.
Since this is a subclass of UIView, I'm attemptin...
I have an app that uses a UINavigationController as its main way of showing data.I want a Settings screen to pop up, but I also want to be able to push new views for Settings. From what I've found, I can't use a UIViewController do to this. How can I present a view by sliding it, and also have content pushed onto it?
...
I have a UIView where has so many elements like Text Field, Date Picker, and Picker View to add data to my app. This won't make it in a screen in Interface Builder. In my mind, user will scroll down to insert them. Is there a way to achieve this?
Thanks
...
Hello,
I want to be able to do something like the MapView callout when a user touches a UILabel in a standard view. This is not a map view! Or can I hover over a new UIView?
Can anyone point me in the right direction please?
Thanks,
...
What would be the best way to set up a group of views where each view acts as a scrolling view (can be scrolled up and down). And you can switch between these views with a swipe to the left or right?
...
I want to alter the anchorPoint, but keep the view in the same place.
I've tried NSLog-ing self.layer.position and self.center and they both stay the same regardless of changes to the anchorPoint. Yet my view moves!
Any tips on how to do this?
self.layer.anchorPoint = CGPointMake(0.5, 0.5);
NSLog(@"center point: %f %f", self.layer.posi...