I have a UIPopoverController with a subclass UINavigationController. Both the parent and child views are UITableviews.
When i call parent view originally with contentSizeForViewInPopover = (320,480) it works great.
When i click into the child view i resize the popover to contentSizeForViewInPopover = (320,780)
When return back to the...
Hello everyone
I know there is no public api to read bandswitch.
But I wonder how this app can do this?
Thanks
interdev
...
So basically, I need to know if there is an iPhone C compiler that can be installed on the iPhone... Then I would like to know what parameter I would put in the system("compile Foo") function. Thanks for the help in advanced.
...
Hi guys,
In Safari and other browsers, there is a bar that would indicate the percentage of the loading progress, and I, myself, trying to implement something similiar on iPhone, when loading some content in UIWebView, I would like the app to indicate the percentage of the page being loaded.
I tried some google search and realize we c...
i want to show text using quartz 2d. Text will be drawing randomly on different position after each 1 seconds. I am not sure how i can use NSTimer with quartz 2D text. I can draw text in drawRect method where graphics context is already available.
How i will draw text using my custom method myDraw which will be called after 1 second usin...
I'm experiencing a weird problem and i wonder if anybody else has noticed this:
I'm using NSURLConnection as it appears in apple's examples to get xml files from a certain server - pretty straight forward. And most of time it works, but sometimes it's just stuck after initialing and don't get into connection's delegate methods. I'm worki...
In one view during a function call i am assigning 1 to a flag...when i navigate back to previous view i want the the flag value to be retained to that view...how cAn i do coding on the button that appears on the screen to navigate back to the previous screen might be able to do it or is there any better solution???
...
NSDate *now = [NSDate date];
NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
[formatter setDateFormat:@"yyyy"];
NSString *stringFromDate = [formatter stringFromDate:now];
CGContextShowTextAtPoint(context, 50, 50, stringFromDate, 5);
I...
Has anyone implemented facebook "Like" on iPhone/iPad?
I've done general Facebook Connect implementation before, but it appears they're phasing that out in favour of OAuth and the Graph API?
We're trying to give users the ability to "Like" items of content in the app. Each item of content has a corresponding URL for its representation o...
I have a UITextView in which I want the initial value to be "@username " when they keyboard shows up (notice the space after the username). This way the user can start typing right away without having to tap space. So I do:
textView.text = [NSString stringWithFormat:@"@%@ ", username];
But it seems like it's impossible to have the UIT...
Hi all,
I am new to cocos2d, In that I want to create a button, by touching the same some events should be generated.
But I don't know how to make a button in the same. As well as want to save username also. But I am not able to create a text box even.
If any one know, kindly help to create both of the things.
Thank you in advance.
...
I'm new here ,i don't know how to use this...here is my code :
NSString *strParse=@"url";
NSURL *urlParse=[NSURL URLWithString:strParse];
NSString *content=[[NSString alloc] initWithContentsOfURL:urlParse];
NSError *error;
GDataXMLDocument *document=[[GDataXMLDocument alloc] initWithXMLString:content options:0 error:&error];
---------...
I don't really like using plists (I know I should get used to it, but I haven't yet). Is that what the app delegate can be used for, getting info between the two? Thanks.
...
Hello,
I have a 4 tabbar application. The second tab has a tableviewController.
When i select the second tab the tableview is displayed with it's contents and it works fine.
The problem is that that data is comming from the network and it talks 2-3 seconds to load. So when i press the second tab it goes there after the contents have be...
hi all,
i want to hide and show navigation bar on double click.
navigation bar consist of 2 bar buttons.
initially,navigation bar should be hidden.
when user double taps the screen ,the navigation bar should come up with l'll animation,like we c in our iphone's photo gallery.
how can i do this,
suggestion are always appreciated
rega...
I currently have this workflow in a tab based app:
Tab1 loads...
ViewOne : UIViewController
>>
PickerView : UIViewController
>>
DetailView : UIViewController
">>" means loads based on user action. I'd like navigation bars on PickerView and DetailView. PickerView just needs a cancel button in the top left of its n...
Hi in my application i need to get the hour and minute seperately,
NSString *currentHour=[string1 substringWithRange: NSMakeRange(0,2)];
int currentHourInNumber=[currentHour intValue];
consider string1 contains "11:59:13 AM" which is coming from datepicker.
here if i use above code, its okay to get hour if its greaterthan 9. e...
I am new to iPhone development. My iPhone gets busy and no call comes to it until my application ends. I want to receive a call and as soon as it ends my application has to run where it was stopped. How can I achieve this?
...
Hi Guys
How can I post XML data format to server?
(I only know post paramters to server)
Thank you!
...
Hi
I would like to implement a search functionality within my iPhone app which can search for terms within all the documents in the application.
I believe I cannot use Apache Lucene directly since it is in Java. Can I use Lucy which is a C port of Lucene (not sure if Perl and Ruby would work on it)?
Or is there any other open-source s...