hi guys, how do i check an array if objectatIndex has any values? im using a forloop
for (i = 0; i < 6 ; i++)
{
if ([array objectAtIndex: i] == NULL)//This doesnt work.
{
NSLog(@"array objectAtIndex has no data");
}
}
...
My app communicates wirelessly to an external device. I want to prevent the user from closing the app until a response is received from the device, which can take a few seconds.
In the ViewController.viewWillDisappear and also the appDelegate.applicationWillTerminate I can put logic to see if there is still something left to do, but I ...
I want to have two buttons on the left side of the navigation bar, one is the regular back button and the other one is a UIBarButtonItem. However I could only get it to replace the default back button. I've tried many code samples on the internet but couldn't get any to work. please help
...
I have some data in my local database in my iPhone app.
I want to programmatically create a note in iPhones notes app and store this data.
Does anyone know how to do it?
...
Hi Guys, Im going crazy here. Need some help. I have the following code:
- (CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
NSString *currentMessage = [FeedMessages objectAtIndex:indexPath.row];
NSLog(currentMessage);
UIFont *font = [UIFont systemFontOfSize:14];
NSLog([NSString stringWith...
I have created a new project from the template:
IPhoneOS>Application>Tab Bar Application.
I get two tabs.
How can I make the second become a full screen hiding the tab bar and even the status bar?
I tried to check the "Wants Full screen" - but it didn't help.
(Much less important... When I do get a full screen I do I get back?)
Ple...
i just upgraded my macbook OS to Snow Leopard but all the provisining profiles were deleted..Do i need to create new provisioning profiles for all applications or just copy my bACKUP OF provisioning profiles folder to the Library(havent installed xcode 3.2 iphone sdk4 yet)??
...
How to create multiple columns in row of the tableview? it would be grateful if give any samples or please direction me!
...
I'm trying to setup a UILocalNotification object's repeatInterval attribute. It works well with NSDayCalendarUnit, but I need to set a repeat interval of every three days.
I've tried NSDayCalendarUnit + 3, but that doesn't work. Any ideas?
...
We're working on a project using some custom views. We have the following hierarchy:
UIViewController -> UIScrollView (custom subclass) -> UIView (custom subclass)
We are presenting a grid of buttons that are dynamically generated. When a user taps one of the UIViews that belong to the custom scroll view we fire a method that looks lik...
HI Guys,
Do you have an idea how to generate PDF file in Objective-C and reading it?
Thanks,
ZaldzBugz
...
Hi guys, how do i , given two times in HH:mm:ss format compare then and determine which is the later time.
12:00:00 & 14:00:00
how do i determine that 14:00:00 is the later time
...
Hello all,
I want to zoom in and out a UIVIew on to specific point something similer effect to focus + zoom in. I don't want to use UISCrollView. What is the right approach to do this if anyone could suggest.
Thanks
...
Hello,
Can anybody tell which are the controls which do not detect touch (like UIscrollview) ?
...
Hi folks!
I have been having this problem which has costed me lots of time. I am still lost..
This is something I am seeking to do (Refer to the "Main Page" pic):
http://www.netbanker.com/2009/04/mastercard_launches_atm_hunter_iphone_app.html
I want an Actionsheet to rise from the TabBar, without disabling it.
I have tried many diffe...
Hi All, I am wanting to have half of a view taken up by a page control. The page control will allow the user to swipe from left to right on a selection of 5 different table view lists.
Is this possible?
What is the best approach.
Will each table view that will be put into the page control need its own controller? Or am i totally off...
Hi,
I want to implement a in-app chat view like the following pic.
http://img408.imageshack.us/img408/4057/img0139.png
How can I implement the input bar? As I cannot found any resourece on internet.
Thanks.
Best,
Dante
...
Hi Guys,
I am developing an application with Image and Voice recognition.
Do you have any source or idea how to do this?
Thanks,
ZaldzBugz
...
Hi
I'm currently taking a summer class in iphone development this summer and our assignment this summer to make a flashlight app for our iphones. I have a iphone 4 and would like to utilize the LED on my iphone for my project, can anyone help me how to get started with that?
it would be very helpful if someone could point me in the rig...
I have create a custom UIWebView. On some class if I include my custom UIWebView, I need know if web view load is complete or not.
I can get this in custom class using webViewDidFinishLoad, but how do I transfer this to Main view where I have add this Custom UIWebView. I need to enable some button when WebView is loaded.
I hope u can u...