I have a UITableView with custom cells. Inside each cell is 2 views. Each view has a UIGestureRecognizer attached to handle tap events. When the view is tapped, I send a message to a UINavigationController to push a detail view. This scenario works fine until I actually scroll the table. After the table is scrolled, the app crashes when ...
Hi there.
I have an iphone app which has an NSURLConnection downloading a large video file. It takes about 5-10 minutes to download (a little bit of data at a time).
There are some problems though.
If the iPhone is just left on the side to download then the screen turns off and the iPhone locks. This seems to cause the download to sto...
import
I am trying to implement a custom cell to use in my tableview
This is my custom cell interface class
@interface CustomCell : UITableViewCell {
IBOutlet UILabel *nameLabel;
IBOutlet UITextView *inputText;
IBOutlet UIImageView *image;
IBOutlet UIButton *btnBuy;
}
@property (nonatomic, retain) IBOutlet UILabel *n...
Can an iphone app developed using html5, CSS and Javascript be sold through Apple store ?
...
Hi, I'm working on an iPhone app. I've tried to make a simple query that works correctly on sqlite console but it doesn't work on my iPhone code.
This works and it show me all the fields:
const char *sqlStatement = "sessions * from animals";
This doesn't show anything, but works correctly on sql console:
const char *sqlStatement = "...
Hey everybody,
I need to create a grouped tableview with gradient on its border (not on its cells).
I made some research on the web but I'm not sure I understand how to proceed.
A little help could really unblock me in my project :).
Thanks
...
Hi there,
I'm about to implement a web app with pastry kit but I'd like to have it fetching data from a backend hosted on the net.
This backend is reacheable via a Web service... IS there a method in PAstry kit allowing me to call directly a web service and parse response data to update my page ?
...
Hi all,
I'm checking memory leaks in my apps using Instruments Leaks tool.
After fixing all leaks whose responsible library is my app. I figure out that there still have a lot of leaks whose responsible libraries are iOS's framworks, based on what Instruments said?
This is a screenshot of Intruments:
I think these leaks may be caus...
Hi all,
I want to write a simple media player which displays lyrics that are retrieved from the web.
I know once LyricWiki was such a source, but now no longer exists.
Does a new API or source for lyrics exist that I can use ?
When I do get the lyrics, how do I sync them with song ?
I know the MPMediaItem class has the MPMediaItemProp...
Dear all,
I am using a UITableView with style is UITableViewStyleGrouped, but when I set the table is editing = YES, the content cell is scaled so the delete button is stay out side of background as below screenshot
How can I make the delete button is stay inside of white background?
Thanks!
...
I'm returning to my table view after selecting a new date range, I now need to reload the data in my table, which event do I do this in ?
Heres how I'm pushing my date selection sreen.
MyViewController *nextController = [[[MyViewController alloc] initWithNibName:@"MyView" bundle:nil] autorelease];
MyAppDelegate *delegate = (MyAppDelega...
i am doing a simple program that adds video files..... i use the following code to do that..while using that i got an error that is "terminating due to uncaughtexception "the content url must not be nil"".......please help me to recover from this error....thanks in advance......
NSURL *url = [NSURL URLWithString:[[NSBundle mainBundle] ...
I have a scrollview that automatically generates a series of subviews containing imageviews. The concept is that it's pretty much a custom PDF style reader, where each page is loaded in to an imageview as an image. There are three "layers" - the outer UIScrollView, the automatically generated subViews and the imageview inside the subview...
Note: This question IS programming related! It's all about better code and better software concepts through reading what customers say! So please don't close this, as it's important for my (and probably also your) software projects.
In order to write great software, it is essential to read reviews of apps from competitors. That way, y...
I drag the .mobileprovision and app.zip file in the list of applications in itunes, I also get add-cursor, but if release the mouse-button nothing happens. the list is still empty, whats wrong?
...
I am bit stacked with a functionality that should perform a certain task after double taping on a certain place on UIView. I know how to count number of taps, but do not know how to determinate which place has been tapped and I guess to compare with CGRect of view which was specified for doing this action.
thanx in advance
...
I was using UTF-8 encoded xml for parsing using NSXMLParser. But some of the special characters were causing problems and so decided to use ISO-8859-15 encoding.
But after that the parser doesnt even start parsing and is giving the error 31 - NSXMLParserUnknownEncodingError. What should I do now? Is it possible by anyway we can parse a...
Before one month I have created one provisioning profile for an application. So many time I have installed that application in my device.
Yesterday I have tried to install the same application. But I am getting some issues I have mention below:
Error launching remote program: security policy error.
Error launching remote program: secur...
I would like to be able to add a new UIImageView of a certain size which should have a few UIGestureRecognizers detecting touch on the UIImageView.
How does one subclass UIImageView or how would this be best achieved?
I want the user to be able to add UIImageViews as they want at runtime and then the gestureRecognizer will allow them ...
Sorry about the title being extremely vague, I'm new to Objective C and struggling a little with it. Basically I have the following section of code:
Graph *graph1 = [[Graph alloc] init];
[graph1 addNode:@"TEST"];
which is working to a degree. But I want to change it because the above code happens on a button press, and therefore I ass...