Changing the color of text in UITextView ?
how to Change the color of text in UITextView ? ...
how to Change the color of text in UITextView ? ...
How does one create a UIImage within one viewcontroller, when the action which I want to trigger the creation is a button in another viewcontroller? So I would like to have a button in a viewcontroller, which when pressed, dismisses this view and create a UIImage in the other view. How is this done? Thanks ...
Hi, guys, I'm developing an iPhone app which is using sqlite library directly instead of CoreData. I tried to drop a table, but no matter how I tried, I always got a SQLITE_LOCKED instead of SQLITE_DONE. I had searched stackoverflow.com, but could not find any similar problems. Here is my code: -DropTable: - (BOOL) dropTable:(NSStri...
I want to adjust the height of a cell depend on it's contents. I know UITableViewDelegate let you implement the - (CGFloat) tableView: (UITableView *) tableView heightForRowAtIndexPath: (NSIndexPath *) indexPath { return someHeight; } but I do not want to hardcode the height. Is there a way to do this dynamically? ...
Hi all, currently, I use glDrawArrays to render texture in simple quads. I hope increase framerate by using glDrawTexfOES instead (all my sprites have the same z position). Before doing this work I would like to know if these textures will still be affected by my 3d lights. ...
hi friends, i am working on a iphone application,in which iphone application sends a request to the server using socket connection.in server side java code(using apache mina) takes the request and it processes the request and sends the response. now the problem is if multiple iphone users sends request at a time to the server,t...
Hi Guys, I want to use UIImageJPEGRepresentation to add the image in iphone, in below code i am missing some thing I don't know how to add NSData *data=[NSData dataWithContentsOfURL:[NSURL URLWithString:gameObj.gameThumbnails]]; UIImage *myImage=[UIImage imageWithData:data]; imageView.image=UIImageJPEGRepr...
Hi All, In my iPhone application, i am using the following code to get a snap shot from the iphone application. -(UIImage *)captureView:(UIView *)view { CGRect screenRect = [view bounds]; UIGraphicsBeginImageContext(screenRect.size); CGContextRef ctx = UIGraphicsGetCurrentContext(); [[UIColor clearColor] set]; CGContextFillRect(c...
In my current application I have allowed the user to submit an image to an image service online. I allow the user to select from either their Photo Album or take a picture with the Camera. However, I have an issue. If the device that is being used doesn't have a camera and the user selects to take a photo, the application crashes. I nee...
This is the code to pick a single image from the Library -(void)imagePickerController:(UIImagePickerController*)picker didFinishPickingMediaWithInfo:(NSDictionary*)info { UIImage *image = [info objectForKey:@"UIImagePickerControllerOriginalImage"]; NSMutableDictionary *data = [[[NSMutableDictionary alloc] init] autorelease]; [data...
Hi, I am looking for RapidXML Tutorial in iPhone SDK . Plz. send me link. Thanks. ...
hello all.Am facing a probem with my scrollview.Am displaying the image in a scrollview programatically and i added the zooming and paning effects.When i run the application image is displaying in the scroll view but it is not in centre(like it is displaying at right corner and some part of image is inside the scrollview)After zooming wh...
Hi, I would like to know how is there file name for video in photo album in iphone? If yes, how do i retrieve it using AssetLibrary? possible some code snippet? Thanks in advance ...
I'm using Monotouch to develop an iPhone application. I'm aware there are answers out there for this question already for Objective-C. For example: Stop UIWebView from bouncing vertically This answer is ideal. I figured I could just take it, and turn it into C# and it'll be fine. The Objective-C code is: for (id subview in webView...
hi How do you display a Alert when not connected to the internet ? iOS not connected to internet means has no wifi , no connection to remote host ( www.google.com) no Cellular Data Network as i have seen many applications showing this message when i am not connected to the internet. i have tried downloading the Reachability from appl...
I have designed an application for iphone/ipad.My problem is that I am using single RootViewController for showing Category and Subcategory. //Pop me to RootViewController Category Section From SubCategory in iphone/ipad [self.navigationController popViewControllerAnimated: YES]; But in ipad my searchbar get hidden under the navigation...
i am developing an application with the help of sample code from the WWDC 2010 http://developer.apple.com/videos/wwdc/2010/ example - AVCamDemo. in which i need to record a video from front camera of iPhone...since new iPhone 4 is not available at my place i am not able to test the code properly.. i would be really thankful if someone c...
Hi, I'm developing an iPhone application using the Three20 library. The main screen is a TTLauncherView (with images inside, like Facebook) and a TabBar at the bottom. Each time a new item is selected in the TabBar, I have to change the images inside my TTLauncherView. I thought that I only had to change the "pages" property of my TTLa...
In my app I want to remove numbers except characters a-z from string. How can I get only characters? ...
I do have Console problem. Its not printing any thing.. when i run at-least i need to get system time.data.. it not even printing system data time... and not even NSLog statement. thanks in advance. ...