iphone

UITableView search bar?

Hi, is there any easy way in the iPhone SDK to include search bars like those in the iPod app or in the Contacts app? (They behave and look unlike the usual UISearchBars ...) -- Ry ...

Reverse playback of a CATransform

I have an animation created with Core Animation for my UIImageView, but i would like to know if its possible to play the animation in reverse/backwards mode. Anyone got an idea? ...

Resets the stacks view when the root controller is a tab bar controller

Hi, I have a tab bar controller and in both tab bar items i have a nav controller in each. I would like that whenever a user goes away and back to a tab bar item it resets the nav controller. If I've been navigating in one of the tab bar and then i press another tab item and go back it takes me to the beginning of the navigation. An...

UIScrollView and Cocos2D

I have created a UIScrollView in a cocos2d application. I am adding sprites dynamically, over 3 pages. On the first page, touch works perfectly on a sprite, however if I use the scroll view and navigate to the second page, touch does not work quite right... the sprite will respond to the touch when I touch the screen, approximately the a...

UITableViewCellStyleValue2 - Adjust the width?

Hi all, I have cells that use the UITableViewCellStyleValue2 style. The problem is that the width of the label area is too small. Is it possible to specify the width for the labels? Thanks! ...

iPhone: Sending SMS and altering Voicemail message

hi, it is possible with iphone sdk to send sms to a user or change the voicemail greeting? thank you ...

UITableView section headers drawing above front subview

I have a UITableView whose data have sections. I display an overlay view on top of tableView that dims it when searching: - (UIView *)blackOverlay { if (!blackOverlay) { blackOverlay = [[UIView alloc] initWithFrame:[self overlayFrame]]; blackOverlay.alpha = 0.75; blackOverlay.backgroundColor = UIColor.blackCo...

Undefined symbols when attempting to use CoverStory with iPhone app: _vproc_transaction_end, _vproc_transaction_begin

After following these steps to set up an iphone project with CoverStory, my build fails with two linker errors. Undefined symbols: "_vproc_transaction_end", referenced from: _gcov_exit in libgcov.a(_gcov.o) _vproc_transaction_end$non_lazy_ptr in libgcov.a(_gcov.o) (maybe you meant: _vproc_transaction_end$non_lazy_ptr...

EXC_BREAKPOINT when starting iPhone app

A user of our app sent me the following crash log (already symbolicated): Incident Identifier: 59D4D5E7-570A-4047-A679-3016B2A226C4 CrashReporter Key: d8284d671ee22ad17511360ce73409ebfa8b84bb Process: .... [63] Path: /var/mobile/Applications/.... Identifier: ... Version: ??? (???) Code Type: ARM (...

How to resize a UIPresentationFormSheet?

I am trying to display a modal view controller as a UIPresentationFormSheet. The view appears, but I can't seem to resize it. My XIB has the proper height & width, but it seems to get overridden when I call it like this: composeTweetController = [[ComposeTweet alloc] initWithNibName:@"ComposeTweet" bundle:nil]; composeTweetController.mo...

UISearchBar textDidChange Delays for Remote calls

Hi.. I am trying to determine how to get UISearchBar to delay calling textDidChange till a few millisecs have passed. My goal is to aggregate multiple keyboard entries into one remote web service call.. As I have it now I call the server every keystroke and this is way too much. If there is not some way within one of the UISearchBar De...

UISlider increments

Hi all, I have a UISlider that slides with a range from 0.0 to 1.0. Out of the box, the slider lets users slide with a really high number of fraction digits, but I only want my users to be able to increment/decrement by .001 for each "tick" up or down of the slider. Is this possible to set up? Thank you! ...

UITextView refuses to change its color

Hello, in some cases things you'd expect to solve within a sec turn out to become a lifetime adventure. This is one of these cases :) All I wanted to do, is simply change the text color of one of my UITextViews. So far I tried: UIColor *myColor = [UIColor colorWithHue:38 saturation:98 brightness:100 alpha:1.0]; [myTextView setTextColo...

UITableViewCell: how to verify the kind of accessoryType in all cells?

Hello, Guys. I have a UITableView in that some cells are marked with UITableViewCellAccessoryCheckmark at the initialization of the view. When the user selects another row, I have to check if the maximum number of selected rows was achieved before. To do that, I used the code bellow: - (NSInteger)tableView:(UITableView *)tableView num...

UISearch bar case insensitive?

In a table view I have set a UISearchBar, set the delegate, and add the protocol. When user tap a word everything is okay except that the search of "tennis" is different from "Tennis". How can I make the search bar a case-insensitive UISearchBar? Here is my code where I think evrything happens: - (void)searchBar:(UISearchBar *)search...

Respecting EXIF orientation when displaying iPhone photos on the web

I am developing an iPhone camera app that uploads an image to Amazon S3 and that image is displayed on a website. When the iPhone takes a picture, it always saves the photo in an upright orientation, while the orientation used to correctly view the photo is saved in the image's EXIF data. So if I take a photo with the iPhone and open i...

In App Purchase Problem

hi , please help me , i am getting product count 0 in response.product. i have followed all the steps of in app purchase in documentation . 1.Provisioning profile and i allowed in app purchase. 2.Dummy app binary uploaded to itunes and rejected that by myself. 3.Setup 2 products in itunes in app purchase and app identifier was selected....

How can I detect if an iPhone is rotating while being face up in a table?

Hello, Is there a way to detect if an iphone lying down in a table face up is rotating?. I do realize that this kind of movement is not reported by the accelerometer and neither is it reported to the - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation method. Is there a way to detect angle variat...

What is a good way for a custom accessory view in a UITableViewCell to message the table view controller?

Hi Everyone, I am working on adding a custom accessory view, (a button) to a UITableViewCell, and I need it to tell the table view when it is touched, but I can't figure out how to communicate to the table view what button was pressed. Ideally I'd like to somehow call a function like this: [controller tableView:view didSelectCustomButto...

How to save objects using Multi-Threading in Core Data?

I'm getting some data from the web service and saving it in the core data. This workflow looks like this: get xml feed go over every item in that feed, create a new ManagedObject for every feed item download some big binary data for every item and save it into ManagedObject call [managedObjectContext save:] Now, the problem is of cou...