Hello,
I'm getting the following error:
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* +[NSString stringWithUTF8String:]: NULL cString'
on the line of code below:
NSString *aName = [NSString stringWithUTF8String(char*)sqlite3_column_text(compiledStatement, 1)];
I'm not sure whats going on here,...
I observed Android programmers using LogCat to see colored Debugger Console output. It looks like you can have different classes do their debug output in different colors. Is this possible when developing for iPhone?
...
Updates code
- (void) searchBarSearchButtonClicked:(UISearchBar *)theSearchBar {
mytimer3=[NSTimer scheduledTimerWithTimeInterval:.03 target:self selector:@selector(show) userInfo:nil repeats:NO];
NSLog(@" search is down");
//////////// rnd to hold keyboard
//ovController.view.backgroundColor = [UIColor ...
I have a UITableView cell with an image that spans the full height of the cell.
If I do not use a separator the images on each cell join up and appear as a single image, however, when I turn on the separator the image is sliced (see below). Is there a way to make the image appear on top of the table view separator?
...
I have my class derived from UITabBar:
@interface MyTabBar : UITabBar
@end
@implementation MyTabBar
@end
Further, in my code, I call class_getInstanceSize for my class and system UITabBar class:
size_t origSize = class_getInstanceSize([UITabBar class]);
size_t mySize = class_getInstanceSize([MyTabBar class]);
I use iOS SDK 4.1. ...
I have been looking for a way to show the iPhone screen (not the simulator) on a monitor or projector for demo purposes.
Previous SO post suggested jailbreak (Veency, iDemo/DemoGod, screensplitr) or simulator.
Release notes iOS 3.2 (External Display Support) and iOS 4.0 (Inherited Improvements) mentions that it should be possible to con...
Dear All,
I am using MFMailComposeViewController class to send out formatted HTML email from my iPhone app. I need to include an image in the email and I added am IMG tag to my emailbody
- (IBAction)shareWithOther
{
MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init];
picker.mailComposeDelegate = se...
Dear all, m new to iphone development,i m havin querry regardin MD5 code generation,my page is
having 4 fields,like user name ,password.i need password fields MD5 code generation,my MD5 code conversion code is perfact,there is no error,but when i run the application .,it crashes,i exactly dnt know,how to convert my password field code...
Hello,
I have a number of waypoints stored in my app database, how would I pass these to the MapView in my app ?
If anyone can point me in the direction of a tutorial or some sample code would be great.
Regards,
Stephen
...
Hi folks,
I need to initialise images from raw data downloaded from a server which delivers the correct size of image based on the type of iPhone client.
I know that I should be setting the scale value to be 2.0 on the 640x960 display, however this is a readonly property and cannot be set during the init when using initWithData.
Any i...
Hi!I want to add Toolbar on the upperside of PickerView and want to add one BarButton on the Toolbar Dynamically and on the click event of that button i want to dismiss the Picker as well as toolbar so please help me in this task...Thanks in Advance..
...
Hello All,
I am facing a very strange problem with editingStyleForRowAtIndexPath method. I am planing to change the appearance of editable cells. It was working fine, but when i scroll the table i am not getting the table cell pointer in the editingStyleForRowAtIndexPath delegate method. So the new cells does not get the custom appearan...
I have UICatlog project downloaded from apple development library. It was running fine with 3.0 Base SDK, but when I upgrade xCode SDK Version 3.2.3. I am getting en error:
error: There is no SDK with the name or path 'iphoneos3.0'
Please help.
Thanks
...
I placed UITableViewCell with UITextField as UITableView's tableHeaderView in Interace Builder. When I start editing text in UITextField, UITableViewCell with UITextField disappear. They even disappear when compiling this xib in Interface Builder. Any possible solutions?
...
hi all.
I am developing iphone version of Youtube like website.
my client wants that all features that are in website which are community,groups,login etc must also be available in iphone application.
any idea how should i work.
i have already develop Multi RSS application but this one in which their will be database interaction al...
Hi,
I have some simple UITextFields that bring up the Numberpad.
I would like to restrict the control the user has over input.
For example, one particular textField should not been allowed any value over 32.
Which parameter do I use with <32 to enable this?
Thanks
...
I have 2 entities - BlogEntry and BlogComments.
BlogEntry.comments is a "to many" relationship to BlogComments
| BlogEntry |
-----------------
| subject |
| body |
| comments (rel)|
| BlogComments |
------------------
| commentText |
| blogEntry (rel)|
Now, I have a tableview that I want to be able to have ...
Hi
i have tried the table view sample with the viewcontroller.when im running i got this error may i know wher im making mistake
WARNING: Using legacy cell layout due to delegate implementation of tableView:accessoryTypeForRowWithIndexPath
...
I have captured video in iPhone 3GS using the UiImagePickerController, but the same app does not engage the Video camera on iPhone 4,it is also working fine on iPhone 3GS (OS 4).
Following is the code i used to engage the video camera.
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
imagePicker.mediaTypes...
I am using the following code to open a file's contents and save it to another file.
when it runs the original file length is 793 but the saved file is 0. I have also tried just to copy the file. Nothing seems to work.
Is there some kind of permissions I'm missing on the documents directory?
NSError *error;
NSString *basePath = [...