iPhone scroll view / dynamic text in label then table view and images
Hello what is the right way to place table view after label that populated dynamical and cannot guess what its height and they are all placed in scroll view ? Thanks ...
Hello what is the right way to place table view after label that populated dynamical and cannot guess what its height and they are all placed in scroll view ? Thanks ...
I am animating a UILabel over a custom button. I want it to appear as though the UILabel is "rolling onto" the button from the right. My plan is to position the label 50 pixels to the right of the button, begin animation, move it to its correct position, and commit animation. However, throughout the animation I want to clip the label ...
I want to load images from UIImagePickerController, then save the selected photo to my app's document directory. UIImage *image = [info objectForKey:UIImagePickerControllerOriginalImage]; NSData *data1 = UIImagePNGRepresentation(image); NSString *fileName = "1.png"; NSString *path = //get Document path, then add fileName BOOL succ = [d...
Hey, im compiling my app , which is working great and i wanted to ask you 2 questions 1. im getting about 14 warnings like that no '-addCategory' method found which i know how to solve but even after i cleaned everything added the function to the header file and compile again it's still there i cant get rid of it. 2. im pretty ne...
Hi Guys, I have an opengl es application on my ipad which is basically a paint application, uses pretty much the same code as glpaint, the sample from apple. When I run it in the simulator, everything looks fine, the lines render properly etc. But when I put it onto the actual ipad, every time I touch the screen, the entire screen fli...
i have the following item to display in my table redFlowers = [[NSMutableArray alloc] init]; [redFlowers addObject:@"red"]; and this is the way this array is supposed to be shown #define sectionCount 2 #define redSection 0 #define blueSection 1 @synthesize tableFavoritesData, tableView, favoritesArray, redFlowers; - (NSInteger...
Here is the class which gives me a modal view of the camera @interface ViewController : UIViewController <UIImagePickerControllerDelegate> { UIImagePickerController *cameraView; // camera modal view BOOL isCameraLoaded; } @property (nonatomic, retain) UIImagePickerController *cameraView; - (IBAction)cameraViewbuttonPressed; - (voi...
i want to change the font color of the label at some time interval .can anyone tell how to do it ? ...
I need to find a way to enumerate all my iPhone application's active threads. This is strictly for debug purposes. Private APIs, if any, are welcome as well. I know I can see all the current threads in the debugger window, but I would like to have access to the actual NSThread objects, if that is at all possible. ...
Hello! I need to make call to a number, that start with #. For example phone number in Russia looks like +79123817711 and I need to call #79123817711. I'm trying this: NSURL *url = [NSURL URLWithString:@"tel://#79123817711"]; [[UIApplication sharedLibrary] openURL:url]; But it's replaced # with %23, and sure, not make a call. Is ther...
I want to change the UIButton background color from black to white color. But I want to change it in animation. For example... black > grey > white. Is there any simple way to do so in iPhone SDK? thank you. ...
Hi everybody, I have a UIView with this structure inside it: UIView -- UIImageView -- -- UIImage The JPG image is vertical, and it's the same size of the device in the vertical orientation. I want the UIImage to rotate this as follow: Device is vertical: The image is shown full size (fills the screen) Device is horizontal: - The im...
I have a UIScrollView with a UIImage inside. The following code initializes the image properly (it's width is the same as the width of the scrollView): // Implement viewDidLoad to do additional setup after loading the view, typically from a nib. - (void)viewDidLoad { [super viewDidLoad]; ... imageView = [[UIImageView alloc...
Hi @all, My iPhone app (created under iOS2), has a strange behavior. The left arrow is not aligned with other controls (on both iOS3 and 4) My other apps work fine... Does someone have any idea ? Update : That bug appear with all iPhone in my company, and in all iPhone in my customer's company (both compiled on many computers or ...
Hello, The following code used to work but now it doesn't and I have not changed anything about it. if ([self respondsToSelector:@selector(presentMoviePlayerViewControllerAnimated:)]) { MPMoviePlayerViewController *moviePlayer = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:selectedLink]]; ...
The following code is a modified version of XCode's iPhone square example, to draw a cube. But when I use culling, the cube renders with faces missing. Can anyone tell me what I'm doing wrong? #import "ES1Renderer.h" @implementation ES1Renderer // Create an OpenGL ES 1.1 context - (id)init { if ((self = [super init])) { ...
Hi, i am using fbconnect in my iphone application to post on my wall. i want to login every time. how to do that ? currently if i login to facebook in my application once. it does not asks me for login next time... how to do that ? ...
I am reading a file in iphone app. Its Works Fine. NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex:0]; NSLog(@"%@",documentsDirectory); NSString *fileName = [NSString stringWithFormat:@"%@/test.txt",documentsDirectory]; ...
Hello All, I have two queries I was running a sample app which having single view controller in it implemented. When I check the memory using Instrument it was showing 3.66 MB . Wondered why it is taking so much of RAM as there is nothing much heavy in app. When I have added UIImageview with the Image having size of 25 KB,then Memory...
Hello, I have created an iPhone application which i want to deploy it onto iPhone device. please tell me what is the procedure to deploy it onto iPhone?Since its an enterprise application, i've paid the respective amount to apple developers to get teh certificate. but which file to deploy , or how to make my full application as a single...