iphone

Iphone library to access iphone photo gallery

Hi , Is there any iphone library for accessing the full photo gallery,which should help me to access and upload all the images. Not looking like three20 application ,expecting some information from iphone api's Thanks in advance............. ...

Cannot find MediaPlayer.framework

Hi Working with iPhone simulator 3.1.3 - Trying to add a framework to my project - MediaPlayer.framework. I tried the "Add existing framework" method - but cannot find the file in folder "Frameworks". Am I looking in the wrong place? Wrong filename? Wrong space/time continuum? I also did a search for the file - to no avail. Not ...

Grouped table view empty section

Hi, I've read every answer available for this question that I could find, including this answer here on SO: link text The best known example of what I am trying to accomplish would probably look like the detail screen of the Contacts app. Some contacts have a phone number and email, others have multiple phone numbers but no email etc. ...

Getting x/y coordinate of a UITouch...

HI, I have been trying to get the x/y coordinates from a touch on any iDevice. When getting the touch locations, everything looks ok if the touch is in the middle of the screen. But if I drag my finger to the bottom of the screen, I can only get a y coordinate of 1015. It should be getting to 1023. Same thing for dragging my finger to ...

SecureText in UITableViewCell (Textlabel)

How can I set the label of my UITableViewCell to "SecureText"? [cell.textLabel setText:@"passwordNotShown"]; ...

Sample Tutorials Of Plotting A 2D Graph On Phone SDK

Can someone give me some good tutorials on Creating a 2D plot on IPhone given a variable number of x,y coordinates? ...

How to set image to the UISegmentedControl in iphone?

I am new to iphone development.I have created UISegmentedControl having 2 segments. I want to to display images for each segment instead of title.Here is my code NSArray *itemArray = [NSArray arrayWithObjects: @"segment1", @"segment2", nil]; UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:itemArray]; se...

Symbol not found: _OBJC_CLASS_$_UIPopoverController

Hi, I am having problems with my universal app. I have set the Base SDK to iPhone 3.2 and set the target to 3.1. I have moved the files that are using the UIPopoverController to their own files and they shouldn't be loaded when loading the app on the iPhone. Still, when I build my app I get the following error when I build and debug ...

Setting center y position of a CALayer

I am using CATransform3DTranslate to create a carousel with some UIViews on the iphone by translating their layers. The problem I am having is that while z and x appear to be centered the y position appears to be registered at the top. When I translate the y position it is effected by a "camera" distorting them. Does anyone know what ...

Get string value of class propery names in Objective-C

I have the following class definition. Contact.h #import <CoreData/CoreData.h> @interface Contact : NSManagedObject { } @property (nonatomic, retain) NSString * City; @property (nonatomic, retain) NSDate * LastUpdated; @property (nonatomic, retain) NSString * Country; @property (nonatomic, retain) NSString * Email; @property (non...

UIWebView or Custom UIView

I have a dilemma and was wondering if anyone else had this issue. I have a Navigation based app that when you drill down to the last level, that last view has lots and lots of information and details. I am wondering if I should just use a UIWebView to display the details of information or if I should create a custom UIView with all the...

Disable UITableView Scrolling during editing

Hi I've a UITableView configured to NO scrolling. In standard state (not in editing mode) the scrolling is correctly disabled but when i go in editing mode and I think to move row the scrolling is enabled and this cause some problem. Why, if the scrollingEnabled property is set to NO the scrolling is enabled in editing mode? can anyone ...

How to detect touch in triangle area

For my application, i need to divide diagonally the screen of my iphone in 4 parts and detect which of the part was touched. I am very confused because my areas are triangles and not squares and I can't find a solution to detect which of the triangle was touched... I get the touched Point with method touchesBegan, and there I'm stuck.....

Custom XCode Template?

I would like to make my own iPhone Application Templates in XCode, based on a modified project from the Apple templates. For example, I would like to take a View Based project, add an Image View and save that project as a template. Really, this is just an example. Is this possible? How so? ...

Date of the start of the current week (If weeks always start on Sunday)

I'm not sure if this is the best way to do this... but... I need to get the date/time since: Midnight at the start of today Midnight at the start of the current week (Sunday) Midnight at the start of the current month Midnight at the start of the current year I use the NSDateFormatter: [df setDateFormat:@"yyyy-MM-dd 00:00:00"]; strDa...

How do I generate thumbnails of time increments in a video streaming from a URL for the iPhone?

I am able to stream a video from a URL, but I can't quite figure out how to generate thumbnail images of this streaming video at a certain time increment and allow the viewer to skip ahead by touching the thumbnails. I would also need to be able to display the thumbnails when the screen is touched during the video. Any help would be gr...

callbacks via objective-c selectors

I have a "BSjax" class that I wrote that lets me make async calls to our server to get json result sets, etc using the ASIHTTPRequest class. I set it up so that the BSjax class parses my server's json response, then passes control back to the calling view controller via this call: [[self delegate] performSelectorOnMainThread:@selector(...

Tap Status Bar Time

I am using a UITableView in my app. After scrolling down, if I tap on the status bar time, the table is repositioned to the top. Any idea how this is done and is it possible to intercept the action. TIA, Jim B ...

Is use of LEAKS instrument still common on 3G iPhone?

I'm working with an iPhone 3G, and when I'm trying to investigate memory leaks using the LEAKS instrument, my app crashes. It does not crash when LEAKS is not used. I'm making no claim to having a bug-free or non-memory-intensive app here. But I'd like to investigate leaks on an actual device. When I'm running LEAKS it is incredibly slo...

Validate against empty UITextField?

What is the value of a UITextField when it is empty? I can't seem to get this right. I've tried (where `phraseBox' it the name of the said UITextField if(phraseBox.text != @""){ and if(phraseBox.text != nil){ What am I missing? ...