Hi!
I am trying to update data in a table view using a NSMutableArray. Quite simple :(
What is happening is that I get my data from a NSURLConnection Callback, which I parse and store it in an array and call reload data on the table view. The problem is that when cellForRowAtIndexPath is called back by the framework. The array still s...
Hello. I am a korean student, and I'm trying to develop a iphone application.
I want to make the application which will shows contents of Web board, which is belong to some website. I will use 'UITableViewController", and the names of contents have to be displayed on table view.
I heard that if I want to scrap the text on webpage, I h...
Hello all ,
I have developed a simple location aware iPhone application which is functionally working very well to our expectations except in the low memory condition of the phone .
In low memory condition of the phone my app just got crashes and If I increases the phone memory by freeing up some space it again start working well witho...
according to my code when my device are use in Landscape
when i pushViewController it will
automatic show in UIDeviceOrientationPortrait.
i need to rotate my device to Portrait and then rotate to Landscape,
then it will present in Landscape mode.
how can i rotate to current of Orientation with out use of private API(setOrientation...
-(void) readProductsFromDatabase {
// Setup the database object
sqlite3 *database;
// Init the animals Array
products = [[NSMutableArray alloc] init];
// Open the database from the users filessytem
if(sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK) {
NSLog(@"db opened");
// Setup the SQL Statement and c...
Hi,
I'm loading opengl 3d objects over the iphone camera view. When opengl view is loaded it's loading with a opengl 3d object with black background. The black background color will block the camera view.I just want to clear background color of opengl view so that I could load only the 3d object to the camera view. I had tried glclearco...
please please i need help..i think i am lost somewhere..basically i followed the example http://www.iphonesdkarticles.com/2008/10/sqlite-tutorial-loading-data-as.html, but i was stuck with error on reading description..something must had gone wrong some well but i am not very sure how should i solve it. this is my code, actually i dun re...
is it possible to balance the position of button(example toolbar in Safari)?
UIBarButtonItem *infoButton = [[UIBarButtonItem alloc]
initWithBarButtonSystemItem:UIBarButtonSystemItemCompose
target:self action:@selector(support:)];
UIBarButtonItem...
Hello Everyone,
I am quite new to Iphone development , so please bear me if I ask some some common questions. In my application I have to transfer data from my Iphone app to a PHP server and for this I have to compress the NSdata in my Iphone app and then pass it on to the PHP server and then Uncompress it in PHP and process the data se...
Hi,
I have a warning "MyAnnotation does not implement the MKAnnotation protocol" everytime I use this:
[mapView addAnnotation:annotation];
or
[mapView removeAnnotation:mapView.annotations];
Someone have an idea?
...
HI all,
I have a issue that when I try to write some bytes in the outputstream, I am getting the
bad access. The code is as follows :
int writtenBytes = [_os write:[packetInBytes bytes] maxLength:lengthOfPacket];
where the "packetInBytes" points to NSData and "lengthOfPacket" corresponds to the data length, and _os represents the ...
Hi,
I developing an application in which i calling web services on iphone. I want to implement Try.......Catch in that code for catching internet and GPRS connection error.The code is as follow,
NSMutableURLRequest *request = [[[NSMutableURLRequest alloc] init] autorelease];
[request setURL:[NSURL URLWithString:mainURL5]];
[request setH...
Using core-plot does not seem to be an easy integration task. Header path are already setup. In Interface-Builder I create an CPLayerHostingView which belongs to a View Controller which is instantiated by Interface Builder.
When the nib file is loaded I get the message:
Unknown class CPLayerHostingView in Interface Builder file
...
I'm trying to create core data application.
Some times when trying to save data, i'm seeing following error:
Error: NSInvalidArgumentException,
Reason: * -_referenceData64 only defined for abstract class. Define -[NSTemporaryObjectID_default _referenceData64]!,
Description: * -_referenceData64 only defined for abstract class. Define...
Hi. I'm developing iphone app with UITabBarController as main view. Every ViewController in each tab is UINavigationController which must have a same button in leftBarButtonItem. Can I inherit some class from UINavigationController and override it's -(id) initWithRootViewController:(UIViewController *)rootViewController method to realize...
We can share information in our apps by sending emails in our app.
I don't know how to put pictures in the email body.
like this:
http://digitaldaily.allthingsd.com/files/2007/06/iphone_email_jenny.jpg
...
Hi..
I have a requirement to use date picker in my applicaiton.
I have lot of controlles in my view that..i cannot add the date picker with the default size.
Can anyone please suggest me that how can I reduce the size of the picker?
i tried it with Ib, but size option is disabled in IB?
...
Hi,
for a little project I have to do the following task on my IPhone:
open a TCP socket
send a command to the server
shutdown the WRITE part of the connection
read the response from the server
close the connection
I'm not experienced with socket programming - I've just started with network programming and I've already used the CFSt...
I have a table view that I am customizing and I am adding a UILabel as a subview of the contentView, and I want the number of lines to be relatively consistent.
I set the numberOfLines property to be 3 so it can't go more than that, but there are still some that overflow onto the 4th line.
If it overflows, I want to add a a trailing .....
Hello All,
i am trying to post data from iPhone to PHP web server. Here is my following code:
NSString * fname = @"Brain.";
NSString * location = @"Germany";
NSString *post =[NSString stringWithFormat:@"fname=Test&location=Germany"];
NSData *postData = [post dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:YES];
NSSt...