Hey All.
Im trying to do something that I think is super simple.
i have 3 integers - prevgues1 , 2 and 3
and i have 3 UILabels prevguess1, 2 and 3
the ints have 1 less s.
When I set the text of the label so
prevguess1.text = [NSString stringWithFormat:@"%d", prevguess1]
prevguess2.text = [NSString stringWithFormat:@"%d", prevgu...
I am developing an application where i need to charge the user based on the number of pages. Can anyone tell me how can i derive number of pages if the data is entered as multiline in textView.
Thanx in advance
...
hey guys-
hopefully someone can help me out- iv'e scoured the net for the answer and cannot find one-
the UIBarButtonItems added to UINavigationBar have a much larger click area than required-
for example, open up any project you have a nav bar with buttons on- click anywhere between the end of the button and the title of the nav bar- ...
I have a whole list of data that I need to replace some data with.
Each line starts with:
<select value="12345">
(where 12345 is different on each line)
and I want to replace it with:
@"
How do I do this, I can find the right find and replace algorithm to do this? It would really save me hours.
...
Hi
Is any idea, how to set zoom level of webview by programming ?
Thanks
...
How would I send a command to a Mac (which has network sharing turned on) over the Wi-Fi network that both it and the iphone is connected to? In my case I want it to open an application.
...
I have an opengl game, on top of it i am placing an small view that connects to the internet, retrieves data, with part of that data it connects again to retrieve an image and then displays it inside the view.
All this calls are asynchronous. Do i have to also use threads? What should i put inside in another thread?
Thanks
...
I have some text which might or might not contain web URLs, phone numbers, email links etc. which UIWebView automatically detects as hotspots.
Question: I want to show this text in UIWebView ONLY when there are one or more hotspots, but as plain text if it doesn't. So how can I detect this in code?
Additional Info: JavaScript code belo...
I want to add the plus button to right side of the table view to add the content of the that cell in other view.
how to add the plus button in the right side of the table view.
...
I am new to iphone development.I am creating a map application.I want to load the map with a desired location with desired type and zoom.I am able to load the map at desired location by setting the coordinates.i want the zoom to be 18 and the map type to hybrid.
- (void)viewDidLoad {
MKCoordinateRegion region;
region.center.latitude=31...
I want to filter the accelerometer values using a moving average, how is this done?
Thanks
...
Heya,
I'd like to ask what is the best way to achieve the following coding with cocoa for IPhone.
As a learning exercise I'd like to make a very simple mp3 player. The part I'm most interested in at the moment is the custom visual components for this player.
In particular how would I make a custom play pause button with mouseover and ...
Hello.
Thanks in advance for sending me answer.
I m the beginner in iphone software development, I creating the HTTP request using SOAP XML parsing method. I was creating the variable"soapResult" for storing http coming data. I want to use the soapResult value into another class. how i used that value. I going to make it as a global var...
Hi,
I am developing an iphone application but I do not have an iphone.
But some of my friends have and they willing to try my application (and test a bit) for me.
All tutorils I have seen for deploying require to connect through usb.
I am already a regeistered developer (I got the licence).
Is there a way I can make an installation fi...
I'd like to scroll my content in a UIScrollView. But I think I a made a mistake.
// setup view
CGRect appFrame = [UIScreen mainScreen].applicationFrame;
CGRect frame = CGRectMake(0, 0, appFrame.size.width, appFrame.size.height);
self.view = [[[UIView alloc] initWithFrame:frame] autorelease];
// setup wrapper
UIScrollView *wrapper =...
hi i have 1 update query in db
and it is by use of sqlite
int success = SQLITE_STEP(insert_statement);
i get success value 21
what s meaningof it?
...
How to do audio latency test in iphone os ? I don't have a clear idea about that. Now am reading a caf file like this .
NSString *soundPath = [[NSBundle mainBundle] pathForResource:@"tick" ofType:@"caf"]; UInt64 gTotalPacketCount=0;
UInt64 gFileByteCount =0;
UInt32 gMaxPacketSize =0;
UInt32 size;
OSStatus err = noErr;
AudioFileID fil...
Hi Friends,
I need to create a tableView with customized UITableViewCell that has three small buttons in their view. Is there any way by which I can trap the click events of Buttons
as well as didSelectRow of TableView and decide what to do?
Please help me.
...
Hello,
I would like to post updates to Facebook from my iPhone application. I know that there is a Facebook Connect project, but it requires displaying dialogs for entering user's credentials, dialog for posting content, etc. I would like to be able to get the credentials from application settings and post whatever the user put into UIT...
hello,
How to get all the contents of Hashtable[NSMutableDictionary] into NSMutableArray , which is to be done for iPhone application?
...