i developed one small application in objective c++.program uses socket connection from server.so i performed status of socket like(connecting , connected,failed to make connection)..in that i have 2 display option onw with activity indicator another with uilabel to tell what happen to socket or status of socket..but only uiactivity indic...
Hello,
I am getting email addresses out of the Address Book from a Cocoa Touch project and getting some unexpected results in terms of memory usage. The user opens the ABPeoplePicker and if the AB entry they touch has a single email address or no email address it uses
(BOOL) peoplePickerNavigationController:(ABPeoplePickerNavigation...
Hi All,
I am in a big trouble , as i have developed an application using Enterprise license.
But Now I have to sell it out to my customers ie my company customers.
1.Is it legal to sell them directly through our Enterprise website ? by providing them the "distribution profile + .app".
2. or is there any other way to distribute the appl...
I have imageViews as content for in the UIScrollView. If a user is viewing a potrait picture (320x480) and moves the iPhone in landscape orientation - the image stretches to occupy full screen. I want to restrict the image to stretch. I want a functionality similar to the photos app where image is scaled down and shows black strips in le...
My app pulls up a uitableview screen when the user clicks a settings button. I can't figure out how to wire up the request to dismiss with the action.
How do I dismiss this view from within the uitableview?
Setting up view:
SettingsController *rootViewController = [[SettingsController alloc]
initWithStyle:UITableViewStyleGrouped...
Hi,
I'm trying to build an app that is a code breaking puzzle for the user. I've followed sample code on how to add a decimal to the numeric keypad and it works great. I would like to expand this so the whole keyboard is filled with custom images.
Is it possible to have a piece of code that when the user presses on a symbol the iPhone...
in my application i have a uitableview as my first screen with uinavigation controller.
in my first screen i put NSLog(@"Home Screen retain Count=%d",[self retainCount]); in it's view did load it shows 6.is it correct or it is there is something wrong with this?
...
How to convert integer into hexadecimal value programmatically in iphone
Can anyone help me?
Thanks in advance
...
I am aware of the paid vs. free discussion, but I have a couple extra issues that aren't covered there:
Say I've written an iPhone app that lets you read a newspaper. I want to build four copies of the app, one for each individual newspaper that can be read, so I have four distinct apps, each reading a different newspaper.
Here's the ...
For those developers here who have tried both platforms and published some apps in their respective app stores, how have the results been for you?
Pros and Cons?
I'm curious on current real-world experiences, not analyst projections.
I believe this too will help people get off the fence and choose which side to develop for.
Thanks.
...
I have created the following method in cocoa:
-(NSArray *)latestData
{
NSURL *requestingURL = [NSURL URLWithString:@"someRestfulURL"];
NSMutableURLRequest *theRequest =[NSMutableURLRequest requestWithURL:requestingURL];
[theRequest setHTTPMethod:@"GET"];
NSURLConnection *theConnection = [NSURLConnection connectionWithR...
I want to edit the user's username inside a UITableView. I added a UITextField to the UITableViewCell and this seems to work very nicely. But when the user touches the cell (even outside the textfield), he expects to edit.
How do I programatically select the textfield?
The code would look something like:
- (void)tableView:(UITableVi...
I want to code a small tabbed browser just for the fun. However I'm not sure how the tabbed thing works.
So this might be a noobish question:
can I store a current webView in an array? using: [array addObject:webView];
and if yes how do I load it into the webView again? maybe using: webView = [array objetAtIndex:anIndex]; will it appe...
Is the following allowed by the app store review process?
- (NSString *) platform
{
size_t size;
sysctlbyname("hw.machine", NULL, &size, NULL, 0);
char *machine = malloc(size);
sysctlbyname("hw.machine", machine, &size, NULL, 0);
NSString *platform = [NSString stringWithCString:machine encoding: NSUTF8StringEncoding];
...
* UPDATE *
I've reinstalled with Snow Leopard, clean install. Completely wiped my existing Leopard install. Same problem persists.
I've tried numbers of versions of symbolicatecrash to resolve symbols in my crash reports. From the version provided by Apple, to Alan's Quatermain's version posted on GitHub and finally from http://openrada...
I have a mostly-navigation-bar-driven application. A few cases require the presentation of a modal view, and one of those cases requires the hiding of the status bar. However, even if I hide the status bar before presenting the modal view, the view is offset by 20 pixels.
Even if I set the frame of the modal view to 0,-20,320,480 afte...
Apple is really funny. I mean, they say that this works:
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch* touch = [touches anyObject];
NSUInteger numTaps = [touch tapCount];
if (numTaps < 2) {
[self.nextResponder touchesBegan:touches withEvent:event];
} else {
[self handleDoubleT...
I'm using xcodebuild from the command line to compile several variations of an iPhone app but I've not been able to figure out how to deploy those builds into the iPhone Simulator from the command line. Could somebody please enlighten me? Thank you.
...
I need to create a uiview that looks like the one to display mails in the mail.app on iphone.
It looks, that the view is something like a UIWebView, but there is a header-view to display From, To and Subject. This header is non-zoomable and scrolls only by the y-axis.
Is there a way to create such a header-view in the UIWebView...
// ...
To quote from the CGLayer doc:
Quartz caches any objects that are reused, including CGLayer objects.
I am having problems with memory on large pages and am trying to implement a simple mechanism where views are released and recreated based on whether they are on/off screen.
Say for the sake of simplicity that I have a bunch of UI...