objective C Basic question
how do i set the size of tableview that is inherrited from UITableViewController like this @interface myTableViewController : UITableViewController { ............ ............ } ...
how do i set the size of tableview that is inherrited from UITableViewController like this @interface myTableViewController : UITableViewController { ............ ............ } ...
Hi, I would like to know how to create a custom shaped uiimageview so that around the shape I'll be able to see the app's background. Any suggestions appreciated. Thanks! ...
Hey, I have an issue by setting the delegate property for a ViewController which is presented modally. The code below is a modified copy of the example code for Presenting a View Controller Modally. AddContactPersonTableViewController *addController = [[AddContactPersonTableViewController alloc] initWithNibName:@"AddContact...
What I'm trying to build is an application that allows users to add a category to the first entity (CategoryItem) and then add feeds to that via a second entity (FeedItem). So far, the CategoryItem entity has *action attribute which is used as the naming of the category (String). The FeedItem entity has two attributes, *feedName and *f...
Hi, i'm trying to develop my first iphone apps. I'm using a navigationController with three views: main->first view ->second view. I would like to add a button only on the first view, i tried like this: self.navigationItem.rightBarButtonItem = self.editButtonItem; but nothing appear. If I add the button on the main view it appears afte...
2010-09-23 12:58:42.967 CelebBooth[2317:207] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[sharepicture facebookAgent:photoUploaded:]: unrecognized selector sent to instance 0x6f5b170' * Call stack at first throw: ( 0 CoreFoundation 0x02447919 exceptionPreprocess + 185 ...
Hi, I am trying to make an app similar to the Maps of the iPhone. I want to use the Mapkit and a searchbar to look up an address. And then use the address to add it to my tableview But I have actually no idea how to do this. Does someone have a clue for me? A tutorial or an example? thanks in advance ====================== Right now ...
I have an NSString like @"Hello World" and want to convert that into an bitmap with exactly 20 pixels height. The width of the bitmap should match the width of the text. I know there are some NSString UIKit additions that can draw text, but I don't know how to draw the text with an bounding box of exactly 20 pixels height (text fits per...
I use MKPolylineview to show a route on a map. I have two buttons, one to display the route, one to hide the route. On an iPhone with ios 4.0.2 the route hides and displays perfectly fine when I click the buttons. On an iPhone with ios 4.1 installed the route displays fine. When I click the button to hide the route the line expands in...
The learning curve for iPhone development has been less steep than I expected. After following some tutorials and the excellent book "Beginning iPhone 3 Development" by Apress things have gone quite ok. And of course when I got stuck this forum has been a great help so far. Until now I never did any 'graphical' programming on any platfor...
Hey, i just got rejected on my Free app from appstore. I uploaded 3 apps, HD(iPad), PayedIphone and freeiphone. In the free-version i had a link to the fullversion. Appearently i need inAppPurchase in the free-version rather than linking to the fullversion. How should i implement this in the easiest way? All i want is a button that say...
i have two classes class a and class b import class b; class a{ nsmutablearray *a=@"--some objects----"; } class b{ something } i want to use that array in class b so that i can display it on a table in class b can anybodt tell how can i do it? ...
What is the recommended way to create a Light version of iPhone App? I have an x-code project of my iPhone app which I want to charge money for it. In addition to that app, I would like to deploy additional "light" version of this app free of charge which of course will have some limitations. Best way I can think of is adding a new 'Li...
I'm creating an bitmap context, and in my code there is this: bitmapData = malloc(bitmapByteCount); context = CGBitmapContextCreate (bitmapData, pixelsWidth, pixelsHeight, 8, // bits per component ...
Hi, I have a UILabel inside a UIView and I want the label to be resized proportionally as the UIView is resize. I was able to do so with a UIImageView but the label stays as big as I placed it in IB. I have set the view contentMode to UIViewContentModeScaleAspectFit thinking that anything inside the UIView would be "aspect fit" but I ...
size_t pixelsWidth = (size_t)bitmapSize.width; Or is it totally fine to do without the casting to size_t? bitmapSize is of type CGSize... ...
Hello People, i am using AFOpenFlow in my app, but now the Problem is, the pictures I use are not the same size because they are from the web! And how can i autoResizing the image at the view of the iPhone??? Here is my code from this method: - (void)viewDidLoad { [super viewDidLoad]; // loading images into the queue loa...
This is my code... i've tried every path-format I can think of to get this to work... Basically I want to show an image in a quick and easy picture viewer... The viewer shows (modally... brilliant) but then the image dosen't show inside of that... I can't think why, the image definitely exists, and yet it just shows as a black screen. t...
hi i am new to iphone. i need to change the image pixel values and store the new image on my disk. i have done some work on it as well but not being able to done it correctly. if somebody had done it before then please share the code with me. i shall be very thankful to you thanks in advance ...
With the retina display, does a UIView with a frame of 100/100 points actually have a bitmap of 200/200 pixels? ...