cocoa-touch

List show/add/remove View

Looking for some best practices of UI list on iPhone which has item add/modify/delete functions. Please refer to some sample codes or articles to build user friendly interface. The main application is tab bar application and one of the tabs supposed to show item management. The item itself consisting of 3 text items, first one can be la...

How to use UIWebView to get scrolling text ?

Hi, In my iPhone application I need a scrolling text. I had the text to be displayed and scrolled up and down but I could not get customized text. I mean all the text is of same font. I need some different font size text . I am using UITextView, but UITextView do not support customized text in it. How can I have the scrolling text whic...

UIWebView get HTML Source

Hi I am trying to get the HTML source of a UIWebView without re-downloading it again (a.k.a. do another download, such as [NSData dataWithContentsOfURL:(NSURL*)URL] or launching an NSURLRequest. Browsing the UIWebView header and documentation, there seems to be no way of accessing the current loaded NSData of the source. Am I missing som...

UIModalPresentationFormSheet on iPad in landscape mode

I created a UIViewController view from XIB with modalPresentationStyle set to UIModalPresentationFormSheet and everything works great in portrait mode. When I switch to landscape the view gets moved upperleft (it's not centered as it should be) and most part of it is clipped. Any ideas why this is happening and how to solve it? Thanks ...

Error while integrating Three20 to an iphone application...

I am tring to integrate Three20 to my project. I followed the same instructions given in this page Three20. But I am getting CANNOT FIND #import "Three20/Three20.h" issue. Header Search path under Project info > Build i have set as ../three20/Build/Products/three20 Please suggest me what can be the problem in my header search path set...

Choose build configuration for referenced subproject

I have an iPhone project which references a framework as a subproject. The framework has the following configurations: Debug Release My app has the following configurations: Debug Release Distribution-AdHoc Distribution-AppStore I would like the framework to be built with different configurations, depending on the app configurat...

iPhone UI controls

Which class is used to create the clickable sections(with > arrow) and the checkbox list on last shot? ...

iPhone autoresizing

Is there a "stick-to-bottom" autoresizing mode in Cocoa-Touch? Basically, I got a UIImageView in the lower part of another UIView. When the UIView resizes, I don't want to change the UIImageView's size, but keep it in the lower part of the UIView, while only resizing the other subviews in my UIView above the UIImageView. Is that easily ...

How can I click a button behind a transparent UIView?

Let's say we have a view controller with one sub view. the subview takes up the center of the screen with 100 px margins on all sides. We then add a bunch of little stuff to click on inside that subview. We are only using the subview to take advantage of the new frame ( x=0, y=0 inside the subview is actually 100,100 in the parent view)....

UITabBarController Active Tab Masking Color?

Quick question, when you are implementing a UITabBarController and you are adding image icons to the tabs is there a way to override the blue active masking color, can you specify your own gradient or a custom image for the background grad? cheers Gary ...

label in my tabel celll

hi this is lak.. thank you for your fast feedback but that not worked for me i am using labels in table.. UILabel *label1 = (UILabel *) [cell viewWithTag:1]; label1.backgroundColor = [UIColor clearColor]; label1.text=aStation.station_name; label1.textColor = [UIColor colorWithRed:0.76 green:0.21 blue:0.07 alpha:1.0]; [label1 setFont:[UI...

Why Is Bottom Half of Custom UIActionSheet with UIDatePicker Disabled?

Everything seems to be working great with my UIActionSheet that contains a UIDatePicker except that the bottom half of the DatePicker is disabled. Visually there is a shadow that makes the bottom half of the picker darker than the top half. Everything in the bottom half is disabled and I can't for the life of me figure out how to enable ...

How to define click event for UISegmentedControl in iphone?

I have implemented UISegmentedControl in my application. None of the button is selected in normal state. I want to implement button click event when first segment is selected and another event when another button is clicked. Thanks in advance. ...

How do I change the background image of my iPhone app?

Hello I have looked around and found some code which so called chooses an image from an array of image objects, but cant find an explanation. I would like to make my app have a background image and the user can select next and previous buttons to scroll through some full screen images, setting them as the background image as they scrol...

touchesBegin & touchesMove Xcode Obj C Question

So I have my app working good when you press and drag along. I also have UIButtons set to Touch Down in Interface Builder. As well when you drag you need to drag from the outside of the UIButton. You cannot click on the UIButton and drag to the other. TOUCHES MOVED: Code: -(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)even...

UIScrollView eating touches from its parent

I have nested scrollViews (or rather a subclass of UIScrollView inside of an actual scrollview). I set the size of the inner view to its contentSize and set scrollEnabled = NO, because I only want the outside view scrolling. But the innerView occasionally eats touches and keeps the outerView from scrolling when it should. Is there som...

Navigation Items in UITableViewController are not appearing?

I am displaying a UITableViewController inside of a UITabBarController that is being presented modally: -(IBAction)arButtonClicked:(id)sender{ //this is a uitableviewcontroller ARViewController* arViewController = [[[ARViewController alloc] initWithNibName:@"ARViewController" bundle:nil]autorelease]; LeaderBoardTableViewCon...

How to create iPhone application can download content

Now I try to build iPhone application, like magazine online, that can download new magazine form web and store in app (can play offline). I no idea for implement feature download new magazine form online source and store in the app. Please help me. ...

core animation or opengl?

making a game like 'doodle jump' requires opengl or core animation is just enough? which is the poit from where one should consider using opengl? ...

Adding advertising to iPhone Application

Hi all, I wanted to integrate advertising platform into my iPhone App and I was wondering which one is better to use Admob or iAd and why? Thanks in advance, Sarah ...