hello,
I got stuck in here,
I have a custom scrollview in a view this scroll view has an add field button which lets user to add new text field to the scrollview. When user taps on a particular textfield keyboard appears and hide the textfield, to overcome this I followed UICatalog example, but it moves the whole scrollview up
to pr...
Hi,
I have my app set up so that auto-rotate works. Things like tableviewcontrollers and tabbarcontrollers automatically resize them selves without the need for me to write any code. However I need my webview etc. to resize when the device is turned to landscape. I set:
webView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
...
is it possible to generate a call or an sms from an application that we create for iphone? Also is it possible to record a call???
...
Hi All,
I am getting this error while running my app on the device.I have installed the distribution provisioning profile.
error from debugger :error launching remote program: failed to get the task from process 1637
Thanks
...
Is there any limits for the payload size of an http request in iphone? I'm requiring to upload images to the server, so will be sending NSData of the image as an http request. Is there any limit in that payload. Similarly, will there be any limits for the respose also?
...
What is the connection time out in the case of iphones. How long will the compiler wait for a response after a request have been made??
...
Hi,
I'm looking to clean all my app's leaks.
As you can see on the picture below, SQLite makes a lot of memory leak.
I do use SQLite through CoreData. The strangest thing is that AdresseBook is making all the libsqlite3 leak and I never use the AdressBook!!!
Do you have an idea?
Thank you :)
...
I'm writing a small application that allows for patterns to be placed on a button. When I run the app in the simulator the patterns display ok on the button. When I compile the application to the device the patterns do not display on the buttons but all other logic behind the buttons works fine.
The patterns are simple png images and I ...
Hi,
I want to have a tableview create rows that look like this:
value1 item1 container1
value10 item10 container10
value100 item100 container100
value2 item2 container2
What I am trying to show is that the first word (value) will have a set length of 12 and then the second word (item) will have ...
We have recently released version 1.0.0 of our application and have sent out numerous promo codes in the past couple of days. I was just wondering whether they will still be valid for the 1.0.1 update which we have just submitted?
...
I'm creating a new thread like this:
[NSThread detachNewThreadSelector: @selector(myMethod:)
toTarget:self withObject:filePath];
and in the method I do:
- (void) myMethod:(NSString*)path{
NSAutoreleasePool *pool = [NSAutoreleasePool alloc];
[UIImagePNGRepresentation(theImage) writeToFile:[path stringByAppendingString:@".png"] atomic...
I have a UIView with three UIScrollViews. I load each with custom UIImageViews that already have their images assigned. The custom UIImageViews are simple and only introduce a few new properties that allow for tracking the imageviews within the scrollviews.
Images load from disk very fast. The code below executes very fast but I have...
I am running my iPhone App on the simulator and looking for leaks using instruments. The problem is that the trace is not sensible. It does't show any of my code or label any of the system calls. It's all just numbers.
...
Im planning to make my next app 3.0 only (with Core Data). Does anyone have any data on what percentage of users have updated to 3.0?
If it's too low I might consider adding 2.0 support.
...
I am using the following code to call some save methods when my app is either closed or the iphone goes to sleep. I'm just checking they are both OK and correct to use this way?
- (void)applicationWillResignActive:(UIApplication *)application {
[self saveState];
}
- (void)applicationWillTerminate:(UIApplication *)application {
...
What's the quickest or best way to create and submit a form to a remote web server (http) using NSUrlConnection?
I assume I can build the form in Interface Builder, but I'm clueless as to where to go from there, even though I've read several resources on both (including the docs). Just not sure how to put two-and-two together.
...
I've create a UISegmentedControl and successfully attached it to my navigationItem.tableView.
But when I try instead to attach it to a UIToolbar, it blows up.
I'm sure I've seen UISegementedControls on toolbars before - but can't seem to get it working. Thoughts?
// works
NSArray *statusItems = [[NSArray alloc] initWithObjects:@"one",...
Hi All,
First of all I wish you a happy new year.
Coming to my question, is there a way to format the phone numbers? For e.g. +11234567890 to +1(123) 456-789. And also is it possible to separate ISD and STD codes in the phone number itself? Since apple is doing the same in IPhone's address book and as well as Mobile application, I bel...
I have a really simple app, and I'm stuck just in the beginning.
Let me post the code right here.
TapStackView.h
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
@interface TapStackView : UIView
{
//Layers.
UIImageView *backgroundImageView;
UIImageView *powerOn;
}
@property (nonatomic, retain) UIImageView *backgro...
My question revolves around the distinction of a UISegmentedController on a UINavigationBar vs a UIToolbar. If I drop a UISegmentedControl into a navigation bar as follows:
navigationBar.barStyle = UIBarStyleBlackTranslucent;
all is well. The UISegmentedControl identifies the selected option with a slightly darker black. But, if I dro...