Multiline textfield in iphone
Hi all, I need to enter multiline text in the iphone text area. but the default textfiled is of single line. is there any way to make it multilined. Thanks in advance, Shibin. ...
Hi all, I need to enter multiline text in the iphone text area. but the default textfiled is of single line. is there any way to make it multilined. Thanks in advance, Shibin. ...
I am trying to reposition my scrollbar in a subclass of UIScrollView. According to the API docs this should be as simple as: [gridView setScrollIndicatorInsets:UIEdgeInsetsMake(0,0,0,10)]; However when I pass anything to this setter that is not UIEdgeInsetsZero, the scrollbar completely disappears. The scrollbar I am trying to move...
Amazon App does it and Fandango seems to as well, but did anyone tried to provide purchase of real-world goods (books, food, etc) from an iphone App ? Another post is mentioning PayPal API as technically possible although very likely to be rejected by apple. In-App purchasing clearly states against selling real goods using this mechani...
Hello I'm programming in OpenGLES for the iPhone but I'm currently stuck with a strange framebuffer object error. At first I was following a few tutorials from Simon Maurice: http://web.me.com/smaurice/AppleCoder/Welcome.html But then I moved on to do a few experiments of my own before continuing with other tutorials, however my experi...
Hi, i have done following in viewdidload of viewcontroller.m img = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)]; img.multipleTouchEnabled = YES; [self.view addSubview:img]; [img release]; but Touchbegan , touch Moved ,everything is not working ,when i check through Break Point? instead of this,when i use XIB file...
Hello, I have a view. I want to put one UINavigationController and one UITableView in this view and display data from database into my TableView. I put a UINavigationController in my instance window. In the View part of this NavigationController I drag and drop a UITableView. I map the File Owner->Identity Inspector->Class with the V...
I have a navigation stack. In the rootView I initialize the location manager, and I have the proper delegate methods settled. Then I push a view passing the current retrieved location. and everything works well on the other if I push the view while the location is still loading the position of an eventual better coordinate are not sent...
Hello, I'm try to create a fast scrolling list using the creator of Tweetie, Loren Brichter's technique. I believe the idea is to "do your own drawing" instead of using using subviews and images in the UITableViewCell. Below I have extend his example to include an image and I'm not sure if this is the correct way to do it? I have bee...
I am trying to implement a wheel type functionality. I calculate the center point of the view and find the angle created on moving in touchesMoved: method. For the first move it rotated by some degree. But for next move it comes back to the original position of the view and then rotating.Actually i want the rotation from the end point of...
I'm programming a small app with opengl for the iphone, and now I want to load textures in the PVRTC format. Is this complicated ?. Right now all my textures are in .png format, and I'm using this method for loading them: - (void)loadTexture:(NSString*)nombre { CGImageRef textureImage = [UIImage imageNamed:nombre].CGImage; if (...
I have a static method that creates an instance of the class and puts it in the static variable. I am wondering what the proper way of memory management is in this situation. You can't put it in the dealloc-method, because although it can access the static variable any instance method that is created that get's released will also relea...
Hi, I have two UIActionSheets which I want to show at the same time [action1 showInView:self.tabBarController.view]; [action2 showInView:self.tabBarController.view]; the problem is that the first UIActionSheet answers the clicks, which is behind the second one which is frontmost and visible. How can I fix it? ...
I just set up a new macbook pro, installed xcode and the latest iphone SDK; However, I have an iPhone app that needs to target the 2.0 SDK. I have 2.2.1, 3.0, and 3.1 available in xcode, but for the life of me cannot figure out where to get 2.0... I have scoured the iPhone Dev Center without any luck... Any help is appreciated! ...
Hello guys, i need to change the title of the default delete button that appears when i attempt to delete a row from a tableview after setting editing to YES Thanks for helping ...
I have a simple UITableViewController in a UINavigationController that displays a list of strings from an array with the default Edit/Done button on the right-hand side of the navigation bar. When pressing the Edit button, the UITableView animates correctly and shows the red minus icons to delete. Pressing the delete button removes the ...
After parsing JSON data in a Data class, I set the UIViewController's NSArray *headlines property in a fillArrays method of the same Data class. In the viewDidAppear method of my UIViewController, I call reloadData on my UITableView. numberOfSectionsInTableView fires and returns 1, then numberOfRowsInSection fires and returns an array co...
I tried it, but I think this notification isn't coming. Is that the normal case? ...
I am getting this error when I try to build for the device: Code Sign error: The identity 'iPhone Distribution' doesn't match any identity in any profile I am: Building for development, not release. Building for 3.1.2 Running SDK 3.1.2 I have: Revoked and re-issued a valid certificate Created a new Ap ID and new associated prov...
I have a custom table view cell that handles user gestures. However, even if I have exclusiveTouch set to YES, the moment the y value changes by any amount, scolling starts, even if I'm in the middle of handling the touch events. How do I prevent the table from scrolling when I'm handling touch events in the cell? ...
I wonder what would happen when I create a joinable thread for writing some big data to "disk". Now, the docs say I can do so by using POSIX threads. Nice! But: Another guy at Apple said, that an app has like 5 seconds or so to quit when the user presses the home button. So for my understanding a "real" nondetached thread has the sense t...