I am using an UI search bar into my iPhone application, I would like enable Cancel button of Search bar at the time of view did load but not able to do so as its gets activated when a user starts editing the search bar. To be more precise I would to achieve the serach functionality that has been provided by Apple in Stock application
...
Hi,
Thanks for looking at my question.
I have been trying to look around and I have been playing around with low level IVars to get information from the classes. I am having trouble trying to load the values that come from CGPoint.
CGPoint point;
object_getInstanceVariable(obj, [columnName UTF8String], (void **)&point);
NSLog(@"%@...
Hi everyone,
I am trying to create a horizontal UIScrollView with a few images in it. The user should be able to scroll horizontal between all the images. If he holds down the finger the scrolling should stop.
I though about making a
UIScrollView (320 x 122 px)
UIView for the content + really big width
UIImageView for the individual...
Hi,
I have a problem with my code.
I want to create a XML file like this:
<name>myName<name>
<x>myX<x>
<y>myY<y>
<z>myZ<z>
but my file is:
<name>myName<name><x>myX<x><y>myY<y><z>myZ<z>
Can i have this text formatting?
This is my code:
-(void)salvataggioInXML:(NSString*)name:(float)x:(float)y:(float)z{
NSArray *paths = NSSearc...
I need to make a program, which will have about 1000 articles in it. Articles are grouped by categories, one article can be under more than one category. Users can browse through articles through categories (iphone tables will be used here) or through full text search. There will be hyperlinks in articles too, they will lead to another a...
Hi there, I have a long View Controllers hierarchy;
in the first View Controller I use this code:
SecondViewController *svc = [[SecondViewController alloc] initWithNibName:@"SecondViewController" bundle:nil];
[self presentModalViewController:svc animated:YES];
[svc release];
In the second View Controller I use this code:
Third...
Is there a way to size a make a UIScrollView auto adujust to the height (or width) of the content it's scrolling?
something like:
[scrollView setContentSize:(CGSizeMake(320, content.height))];
Thanks
...
Does the OS send notifications when the status bar height changes? For example that fat in-call status bar?
...
Hi,
I have a pretty weird problem with NSURLRequest.
I'm using them to make an asynchronous image loading in an UITableView. The first time the tableView displays, all connections from NSURLRequests open correctly but receive absolutely no data, regardless of how long I wait.
But as soon as I scroll down in the tableView, the newly crea...
My app is playing a pretty complex animation. It's like a flipbook.
What I do is: I have a huge loop with selectors, and after every delayed call the next one is called.
Now someone calls the user and the device suddenly shows up this fat green status bar and maybe some big pick-up-the-phone-call overlay. Or: The alarm clock rings, and...
Hi,
I have a problem.
My proget create a xml file.
In the iPhone this file was store in the NSDocumentDirectory.
I wanna save this file in another directory like Desktop(where there are the apps) or another visible folder.
Thanks.
This is my code:
-(void)saveInXML:(NSString*)name:(float)x:(float)y:(float)z{
//NSDocumentDirectory p...
I have written a code for mail application
like:
{
MFMailComposeViewController *picker=[MFMailComposeViewController alloc] init];
.........
.........
[self.navigationController pushViewController:picker.view animated:YES];
}
The view is not getting loaded.Is is mandatory to write
[self presentModalViewController:picker anima...
Is it possible to do this?
In my appDelegate setup both a UINavigationController and a UITabBarController.
Initially my UINavigationController is added to the subview with a root view.
In my RootView when the user clicks on a certain button, it will remove the UINavigationController from the subview and will add a UITabBarController w...
I've got a Utility Application for iPhone 3.1.3. I have my main view loading fine. I flip over to the flipside view of the utility app and change some settings. How can I call the code I've currently got in viewDidLoad in the main view to refresh it, as settings have changed?
Do I create a public method and call it from the viewDidUnloa...
If a user has location services on, I assign my RootController as its delegate:
appDelegate.clLocationManager.delegate = self;
where appDelegate is an instance of my application delegate, which is where I have the location services instance. clLocationManager is an instance of CLLocationManager. If I discover the user is outside of a...
hi Frnz,
i want to delete multiple rows from a table view based on users selection.obviously i cant use didSelectRowAtIndexPath method coz it will be called for every row selected. i want to allow user to select multiple rows for deletion and then delete them in one go...Is it possible if yes then how to go about it.Also i am using a si...
Hi all !!
So i've set a table view, i have set a system which set if the row have been already selected, i set checkmarck acessory for a row which have been seen, i write the row in a plist to an int value. It work good but only when i restart the app or reload the table view in my navigation controller.
I mean when i select a row it ...
I have this formatted string that I am having a translator work on.
ENGLISH
"Check out the %1$@ %2$@ in %3$@: %4$@" = "Check out the %1$@ %2$@ in %3$@: %4$@"
GERMAN TRANSLATION
"Check out the %1$@ %2$@ in %3$@: %4$@" = "Hör Dir mal %2$@ in %3$@ an: %4$@";
These are passed to a [NSString stringWithFormat:] call:
////////////////...
Hello,
I'm testing my App and in a very simple view, each time a tap on a UITableView row, my allocation overall bytes get higher and higher and never go downs.
I don't have any special code there, so I created a new project from scratch with a very simple view, force one section and just three rows. In the didSelectRowAtIndexPath code...
Okay, so I have a fairly simple application set up.
I have two different CoreData Entities, Games and Platforms, each have one attribute: name, and they have a one-to-many relationship between them.
Platforms are populated on the first launch of the application, and will never change as a result of user input.
I'm working on my Add vi...