I have a DialogViewController with EnableSearch = true. Searching works fine and displays results in dialog. If I navigate into a result element or to another tab AND THEN come back to the search tab and try to tap any of the search result elements, I get "Argument is out of range.\nParameter name: index" at line 463 in DialogViewControl...
I have a very simple subclass of UIViewController:
@interface RoastChickenViewController : UIViewController {
IBOutlet UISlider *weightSlider;
}
@property (nonatomic,retain) UILabel *cookingTimeLabel;
- (void) weightValueHasChanged:(id)sender;
@end
My xib file is set to have a RoastChickenViewController as it's File's owner ...
MPMoviePlayerViewController* moviePlayerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:myChartlyObj.video_url]];
moviePlayerViewController.view.backgroundColor = moviePlayerViewController.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"st-screen.png...
My iPhone app started displaying this in the xCode console/debugger window:
Synchronous client exited with no response and no error!
What does it all mean? What does it all mean?
It's somehow bad to get "no error"?
...
Hey All,
My iPhone application has a UITable View implemented with search functionality in it. The values in the table are grouped into sections from A-Z. Whenever a user tap on particular cell in the table it loads a detail view controller which gives all the values of that particular user. Now my problem is whenever I search some conta...
When trying to run my iOS app on a device, I get the following from GDB, and resulting in my app exiting just right after it started so I never get the chance to debug it. Anyone knows what I'm doing wrong or what I can do to fix it?
GNU gdb 6.3.50-20050815 (Apple version gdb-1470) (Thu May 27 05:54:06 UTC 2010)
Copyright 2004 Free Soft...
So supposedly in the iOS 4 SDK you can edit and write to the user's iTunes library. I can successfully load an AVAsset from my iPhone/iPod library, but as a quick test I'm trying to just overwrite the same file right away using AVAssetExportSession but it's always returning the status "4" which I THINK is AVAssetExportSessionStatusFailed...
I want to do the following:
ViewControllerA should not go into horizontal orientation
ViewControllerA pushes ViewControllerB
ViewControllerB should go into horizontal orientation.
Not sure what to set to make this happen.
...
hi there,
looking for some help.. i have 2 controllers, 1 contains a custom cell table. when user selected a cell, i will be display at the other controller. so far my approach is when at controller 1, if cell selected, save to plist, than at controller 2, load the plist.
my saving and loading code:
NSMutableArray *selectedData;
sel...
How is it possible to manually refresh a table everytime the table view controller is loaded. i want it to refresh every time the view controller is initialized. My app table only upgrades once the app is closed down and restarted>
...
Hi
I'm looking for the best way to check that an NSString contains both numerical and alphabetical characters.
What I have come up with so far is the code below but his just tells me that now characters were entered which aren't number or letters.
if( [[myNSString stringByTrimmingCharactersInSet:
[NSCharacterSet alphanum...
I have attempted this is many ways but failed consistently, hopefully you guys can help me achieve the what i want to do.
I am making an iPad app, I will have five tables in a single view and each table will have a date as a header/title in this format, e.g. Monday 20
These five tables will be monday to friday. This is the bit I cant d...
When I use this date formatter, it's not giving me back the same date I start with if I got from date -> string -> date.
NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
[formatter setFormatterBehavior:NSDateFormatterBehavior10_4];
[formatter setDateFormat:@"MMM d, YYYY hh:mm aaa"];
NSDate *date = [NSDate date];
NSString *s...
In my apps, I have a toolBar with a button inside. When you pressed that button a actionSheet appear and you can change the langage of the apps. I want a put this toolBar in a lot of view, but I want to use the same object, not copy-paste in all my view. So I create a UIViewController with a nib file, this nib file containt my toolBar. N...
I'm finishing my second book on iPhone development (Beginning Iphone 3 Development - Mark/LaMarche) and, while this book covers the 4 main persistence mechanisms, I'm still not sure which one to use for my application. My data model is not very intricate, but I do need some relationship definition and functionality.
So what are the sea...
Hi Forum
I have a viewController that gets added to the current view like this:
theDetail = [[detailController alloc] initWithNibName:@"detail" bundle:[NSBundle mainBundle]];
[self.view addSubview:theDetail.view];
Now - when the user closes this new view, I remove it from the superview.
The User might hit the button to show this vi...
I'm working on a basic iPhone game that requires a single-screen tilemap. Nothing difficult there. I come from a C background, so my current solution looks a bit like this:
typedef struct _Tile {
NSString *type;
} Tile;
@interface Map {
Tile mapData[MAP_TILE_MAX_X][MAP_TILE_MAX_Y];
}
This works fine, but I'm wondering if ther...
Hi There,
Is it possible to get code signing identity information at runtime ?
Thanks
...
Hi , how can i implement XML-RPC in Joomla with Iphone applications . actually i want to integrate iphone app with Joomla virtuemart . Please help
...
I am trying to use the following code to take screen shots from my uiimagePickerController
UIGraphicsBeginImageContext(imagePicker.view.bounds.size);
[self.imagePicker.view.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
It shows every...