different different height for each row in UITableView
how to make the first three row height should be 60 and remaining row height should be 25 in UITableView. How can i do this? Thanks. ...
how to make the first three row height should be 60 and remaining row height should be 25 in UITableView. How can i do this? Thanks. ...
My app uses badge to count the number of smoked cigarettes in the current day. I would like the app to remove the badge at the midnight, when a new day begins... Is it possible to do that? I mean, doing that while the app is closed! Thanks ...
Hi all, I'm using activity indicator view in my app. When I click on a button, I want the activity indicator to display in the navigation bar for 10 seconds then automatically hide. I'm using the following code in view did load: CGRect frame = CGRectMake(0.0, 0.0, 25.0, 25.0); self.activity = [[UIActivityIndicatorView alloc] ...
hello all I have the date in string format "2009-07-06T02:05:11.000+10:00" which i have taken from xml.. Now i need to convert that into date format and use it.How could I do this Thanks all ...
I can scan and get the Wifi list in iPhoneOS4.0. At this time, I neet to determine security types of each Wifi access point. How can I do that using the value of "CAPABILITIES" key of scanned result's NSDicionary? Which one is one of NONE, WPA, WPA2, WEP? The value of CAPABILITIES is 1057, 1025,34,33,2,1073,1041 and 3121, etc... It ...
How do I calculate the Rotation in Radians around Z-axis by giving a CATransform3D struct as the input? basically what I need is the other way round of CATransform3DMakeRotation. ...
[checkButton1 addTarget:self action:@selector(selectorClicked:) forControlEvents:UIControlEventTouchUpInside]; [cell.contentView addSubview:checkButton1]; [checkButton1 release]; Line 2 throws uncaught exception. Do you have any idea? If i comment line 2 it works fine but also doesn't add view into subview. Thanks, Amit Singh ...
I wonder if someone can help me out with regards to the memory management in the code below. I am particularly interested in rootController, does it get retained when I do initWithRootViewController or does it instead (which is my guess) get retained with window addSubView: I am just curious what is happening ... - (BOOL)application:(UI...
When a webpage is bookmarked on the home screen of an iPhone, persistent cookies seem to get lost each time the app is opened. Is there a way to keep the cookies alive? ...
What steps will reproduce the problem? Startup application with PJSIP at iPhone 3G with iOS 4. Make outgoing call. Start conversation. Wait 20 seconds. What is the expected output? What do you see instead? Actual result: Outgoing call cut off at 20 sec. The call breaks on the phone on which I have called. And the call ends normally ...
Hi, I am using the Google api : http://www.google.com/uds/GlocalSearch?key=notsupplied&v=1.0&rsz=large&sll=21.303117,-157.836903&sspn=0.020472,0.021458&q=coffeeshop&doflg=2&lssrc=gb2&lscstyle=final&start=0 In this I want to pass distance parameter for Eg: 1 mile to display coffeeShops with a ...
Hello All, In my application, I need to do some activity i.e pushing otherview controller,when I click a UISearchbar which is added on view. what is best approach to achive this. As one of thing is when we click UISearchbar "searchBarTextDidBeginEditing" get fired,but with my scenario when I push view controller in "searchBarTextDidBe...
hi to all i have 2 toolbar one at top and another at bottom in between of these two i have a webview and i apply a turn page animation on it. But my problem is that on Animation both tool bar are also move with them how can i stop toolbar animation.only webview is animated Thanks [UIView beginAnimations:nil context:NULL]; [UIView setAn...
I have a "Zoom in" Animation Video that is played when switching from one view to a subview. When switching back to the main view, i tried to play the same video backwards like that: MPMoviePlayerController *mp; .... mp.currentPlaybackTime = mp.duration; mp.currentPlaybackRate = -1.0; but occasionally the video freezes at some poin...
I set the Target > info > property > main nib file as MainWindow, in the simulator, it works, but in the device, the screen black, and no "viewDidLoad" is called. What's wrong with that? Thank you. ...
Hi All, I am having a little trouble saving to a plist file, when i am reading the data i am using: - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return amounts.count; } - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { //Cr...
Hi This is the first time I have ever attempted to do something like this, and just using rectangle collision with CGRectIntersectsRect for my UIImageViews isn't good enough anymore. What is the absolute simplest/best way of achieving pixel collision? All I need is for the alpha pixels to not collide, right? Hope you can help, thank...
Hi, I can't figure out why it doesn't work as it should when I try to dismiss a popover by clicking on a UIButton which itself is on a the popover to be dismissed, my project crashes... - (IBAction) cancelButton: (id) sender{ //[self dismissPopoverAnimated:YES]; } Above is my code for my UIButton ...
Hey gays , I have the date function.And I have to compare the previous date with current data in iphone For current date I have code:- NSDate* date = [NSDate date]; //Create the dateformatter object NSDateFormatter* formatter = [[[NSDateFormatter alloc] init] autorelease]; //Set the required date format [formatter setDateFormat:@"...
The question title pretty much gives it away - I'd like my app to remember a few things. It's some sort of calculator, so it should save the last used values and some user selectable settings. Basically I'd like to save a handful of floats and BOOLs and load them again the next time the app loads. What's the best and easiest way to do ...