I am devloping an application where user have to give write some information. For this purpose i need a textfield which is multiline (in general textfield is a single line).
As i'm googling i find a answer of using UITextView in stead of UITextfield for this purpose.
Any Suggestion?
...
I have a uitable with custom uitableviewcells. I have a uilabel defined at the top right of the cell. When I enter into the edit mode, as the left red button comes in the view the whole cell moves to right side and my label is moving outside the view. How can I scale the uilabel to fit into my view ?
...
i have set up a nsurl which grabs the data from http.
when i run instrument, it says i have a leak NSFNetwork object.
and how do i release theConnection in (void)ButtonClicked? or it will be release later on?
- (void)ButtonClicked {
NSURLRequest *theRequest = [NSURLRequest requestWithURL:[NSURL URLWithString:KmlUrl]
...
Imagine an iPhone app with 30 classes. Every class has to interact with every other, so every class includes 29 other classes + foundation framework.
I want to understand what's exactly happening when including a class. Does this duplicate the size in memory for that class in the app? Is it harmful to memory footprint and performance on...
Hi,
I have to save my application data so i am adding all the database while application quit and when apps open, i am retrieving all the records.
It works perfect only for two times means first apps installed, it will save data for app termination 1 and apps termination 2. But then after it doesn't save my data to the database or thi...
Hi ,
I am developing an application for iPhone which displays a map view .I need to draw a polygon on the map view and get the details of that area.Looking for a solution..
Thanks in advance
...
Hello,
I am having a UITextView to display todays report. I have two buttons for going to next day and previous day.
I want to implement swipe gesture such that when the user swipes from left to right, i will display the next day and when swiped from right from left, i will show the previos day.
My problem is swipe gesture is working...
How to Get Route from user current Location to Destination location in MkMapView?
...
Im trying to get a slider on an iphone web app, I'm using iui to handle the ui. The slider appears to be causing some kind of conflict with iui.js, when you drag the slider it tries to open another page. However it works fine when you just click on some part of the bar. I thought it was the slide event causing it but this event is trigge...
Hello All..
I have created one application using XCode.
Now i want to deploy that application into iPhone. Can any one have any links or solutions for that ? Thanks...
...
I want to draw line on UIImageView. I already draw line on UIImageView but when i want to remove these line 7 redraw new lines That can not happen.
-(void) drawLine
{
lastPoint = currentPoint;
lastPoint.y -= 40;
//drawImage is a UIImageView declared at header
UIGraphicsBeginImageContext(drawImage.frame.size);
[dr...
Hi all,
I am working on Iphone application and new to dev. I am sorry if my question is very basic one. I searched net, but could not get answer.
My question is, when user touches the iphone, I want to get that event to be exexecuted immediately instead of waiting for the previous event to complete.
I call while loop(present in differe...
Hey,
I am sorting stores to get the closest stores.
Furthermore I want to know how far away this shop is.
The SQL query would look like this:
select *,
6371 * 2 * ATAN2(SQRT(POWER(SIN((RADIANS(?) - RADIANS(latitude))/2),2) + COS(RADIANS(latitude)) * COS(RADIANS(?)) * POWER(SIN((RADIANS(?) - RADIANS(longitude))/2),2)), SQRT(1-POWER(SIN...
I am using NSDirectoryEnumerator to get all file names in a particular directory. It works fine until it encounters a Japanese file name. When I print this string (NSString) in gdb it prints a sequence of "?" question mark characters for the unicode part of the file name. If I use fileSystemRepresentationWithPath: to get a c string repre...
Best practices aside, if I create an object that is owned by my UIApplicationDelegate class, and stays around the entire time the application runs, is there any real advantage to adding an [object release] statement in the UIApplicationDelegate's dealloc method?
The only time that would be called is when the user is shutting down the ...
I have a UIimageView and I need to give some perspective to the image. Maybe by modifying the vertex of the image...
How can I do that?
...
Hi,
I would like to write an app that downloads (or streams) a video (encoded as required) in a view. I dont want to use the MPVideoPlayer from the SDK as it opens the video in full screen. I would like to place another UIView (transparent) over the video so that my users can annotate over the video.
Anyone have any idea or can point m...
Does anyone know how to slide in a UIDatePicker with a Done button like the keyboard control? If so, can you share some sample code on how. Thanks
...
Hey,
I am trying to acquire a thumbnail (of the first frame) from a video taken from iphone 3GS camera so i can display it. Anyone been succesful at doing this? If so howd you do it?
Thanks
Daniel
...
- (void)applicationDidFinishLaunching:(UIApplication *)application {
// Create the data controller.
DataController *controller = [[DataController alloc] init];
self.dataController = controller;
[controller release];
rootViewController.dataController = dataController;
// Override point for customization a...