How to make a UITextView Expand with the text like the Notes app
How can you make a UITextView expand with the text that is inside of it? ...
How can you make a UITextView expand with the text that is inside of it? ...
The typical UITableView usage pattern is to have the main UIViewController become a target datasource and delegate for the UITableView it is holding on to. Are there any simple and easy to follow tutorials that would help me figure out how to move the code that pertains to the UITableViewDelegate and UITableViewDataSource methods into a...
Hello, why can´t I fill my NSArray? Where is my mistake? He always just fill one object/image to the nsarray. I set a NSlog to check which value string has and he shows me all the 20 urls. for (int i = 0, count = [bild count]; i < count; i = i++) { NSString * string = [bild objectAtIndex:i]; NSURL *url = [NSURL URLWithString:str...
I've had some experience developing for the iPhone but am entirely self taught and am trying to improve my practices. This is a question that is probably pretty introductory to programming. What is the best way (or is it possible) to maintain instance variables with values that are common to all instances of an object? Is it possible to...
I have an iPhone app which uses ASIHTTPRequest to communicate to a REST service on my server. When I'm running on the simulator, it works just fine, but when I get onto the phone itself, I get weird behavior. The very first time I click the button that initiates the request, I get the results back immediately, and all is fine. From that...
I am working on an app where i have a view controller that contains a view in that view i have a button that when pressed i would like it to load my tabViewController. I trying to get a splash screen to load before my app so i can do some downloading and parsing of data before i load my tabViewController because the data im putting the ...
Does anyone have any experience embedding .m4v movie files into webpages for playback on the iPhone? I'm trying to create a site optimized for the iPhone, and it includes a video, but I just can't get the video to play - all I get is the grey play arrow with a line through it. The markup I'm trying to use for embedding it is this: <emb...
I'm trying to create my own UIView subclass. I've placed it on my view in Interface Builder by dragging out a UIView, then specifying my subclass's name in the Class Identity field. Yet my UIView does not draw itself. Here--in a simplified example--is the code in my UIView subclass: - (id)initWithCoder:(NSCoder *)aDecoder { if (sel...
Hey, I want to set up my app as a free version and unlock it with in app purchases, just so I'll get more exposure. The free version should be limited and therein lies my problem. My app uses core data heavily and to make the free version, I just want to limit all records displayed to 1 row in each tableview, or if anybody else has any ...
I'm able to load and access resx files in Simulator builds of my iPhone app built using MonoTouch. The resx file entry in the csproj file looks like: <ItemGroup> <EmbeddedResource Include="MapMenu\Resources\MapMenu.resx"> <Generator>ResXFileCodeGenerator</Generator> <LastGenOutput>MapMenu.Designer.cs</LastGenOutput> ...
I am loading some content from the web into a UIWebView, but I'd like all links to be disabled in the UIWebView. Possible? I could parse the text, but I'm looking for something easier. ...
default it link to RootViewController when i want to change it to another view it got some crash did it have a solution (InterfaceBuilder) for change view to another class ? when run program got some error [Session started at 2010-01-20 10:17:14 +0700.] 2010-01-20 10:17:16.560 AsianDelight[2816:207] *** Terminating app due to uncaugh...
Hi guys: I am writing an IPhone IM chat window now. You know if the nagviationItem.rightBarItem in an UITableviewController is set to editButtonItem, you click the edit button then a red delete icon is shown to every single row, like shown here. The problem is, I have a UIViewController instead of a UITableViewController: @interface...
I am just starting out with Core Data and ran into an issue where I need to save the new object with the appropriate ID. I'm trying to add the next number in the row as an ID for the object the user adds: NSFetchRequest *request = [[NSFetchRequest alloc] init]; [request setEntity:[NSEntityDescription entityForName:@"Favorites" inManage...
I am trying to use OpenFlow (http://apparentlogic.com/openflow/) in an iPhone App to stream files off of my server. How can I do this? Should I be using NSOperationQueue? So far I have been able to: * Use local files * Use their demo from Flickr (which uses the Flickr API and library) Code to load local images: NSString *imageName; f...
I'm using a subclass of a UIView to (programmatically) contain and manage numerous subviews (mostly UIImageViews) that are to be positioned adjacent to each other such that none are overlapping. It's safe to assume that the subviews are all the same height (when originally drawn), but are varying widths. The container might be resized,...
I chage size of cell of a table to 20 but Delete button don't change. So, how to resize this button is this case? Please help me! ...
hi everyone, i have a problem make headache, i simply create method: -(void) main{ for (int i = 0; i< 100;i++) { [self getPhoneOfContact:i]; } } -(void)getPhoneOfContact:(NSInteger)id_contact { ABRecordRef record = ABAddressBookGetPersonWithRecordID(addressBook,id_contact); CFTypeRef ref1; ref1...
Hey, I had this question, http://stackoverflow.com/questions/2097788/uitableview-not-refreshing-after-modal-view-controller-dismisses But, I didnt seem to get a straight answer, Can anyone else shed some light? Heres the code. FirstViewController.h @interface FirstViewController : UIViewController <UITableViewDelegate, UITableViewDa...
i have tried to remove umlaults from XML.i have also used some code like this but still it's not working so please help me in my task. NSString *something = [self base64StringFromData:CDATABlock length:[CDATABlock length]]; NSData *pageData=[something dataUsingEncoding:NSUTF8StringEncoding]; NSString *webpage = [NSString stringWith...