Hi All,
I have developed a website in asp.net for iPhone.
Now I am stuck in how to deploy that site on the iphone?
Never done it before.
How to make it iphone ready so the device can access the site ?
Any ideas...
Thank you All.
...
I am able to create a UIImage from a Core Animation layer using the following code:
- (UIImage*)contentsImage;
{
UIGraphicsBeginImageContext([self bounds].size);
[self renderInContext:UIGraphicsGetCurrentContext()];
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
return image;
}...
Hi,
I have disabled interactions in my primary view (which contains some subviews I use as buttons).
I keep this disabled while I have a secondary view up indicating network activity (loading data). When it is finished, I re-enable interactions in the primary view.
This is so the user isn't tapping those buttons while the network oper...
What setDateFormat option for NSDateFormatter do I use to get a month-day's ordinal suffix?
e.g. the snippet below currently produces:
3:11 PM Saturday August 15
What must I change to get:
3:11 PM Saturday August 15**th**
NSDate *date = [NSDate date];
NSDateFormatter *dateFormatter = [[[NSDateFormatter alloc] init] autorelease];
[date...
Hello
I would like to save the current state of an UIWebView to disk in IPhone SDK.
I have a UIWebView that loads a website with lots of javascript , I would like to save the UIWebView state, maintaining the state of the javscript variables, http cookies, etc at that moment.
Then at a later time, I would like to unarchive the UIWebvie...
There are a lot of cases in which one would alloc an instance, and release it right after it's being assigned to something else, which retains it internally.
For example,
UIView *view = [[UIView alloc] initWithFrame...];
[self addSubView:view];
[view release];
I have heard people suggesting that we go with autorelease rather than re...
I have a NSMutableArray which i am initializing from a plist with strings.
but when i try to do objectAtIndex or removeObjectAtIndex on that array, I'm getting the warning "NSMutableArray may not respond to...." and it also fails at execution.
how do i sovle this?
thx
...
In C#, I use XML/XSLT transformation to isolate markup from data. What's the equivalent in Objective C?
...
I need to do some date + time stuff that is not covered well by NSDate on the iPhone. I wonder if there is a library that has more sophisticated functionality regarding dates and time on a international level.
What I want to do is advanced date + time mathemathics. I need to:
convert between different calendar types (Gregorian <> Jewi...
Hi
I want to be able to let users of my iPhone app communicate using the GKVoiceChatClient classes. The documentation for the 3.0 SDK is very vague and I don't see any good samples in the Sample Code either.
Can someone please tell me where I can find some working example of in-game voice using which I can learn how to use it!
Thanks....
Hi there,
I seem to have stumbled over a problem regarding saving an xml file from a string (this is done on the iPhone)
The file itself exists and included in the project (hence within the workspace), and all indications I get from the code snippet which follows passes without any errors on the emulator and fail on the iPhone (error 51...
Hi
I am using AVAudioRecorder in my app in order to create a .wav file based on user voice input. I want to be able to stuff" silence in the beginning of an audio file for some time before the actual recording is done.
How can I do this using AVAudioRecorder? Can I mention a time for which I want the "silence" to be recorded?
Thanks.
...
First a little background info:
I have UIViewController that contains a UITableView. In the loadView method (after initialization of the table), I set the UIViewControllers view to the table view with: self.view = tableView;
What I want is a view on the top of the screen (before the UITableView), that doesn't scroll with the rest of th...
I am getting a strange error message from the core data when trying to save
but the problem that the error is not reproducible ( it appears at different times when doing different tasks)
the error message:
Unresolved error Domain=NSCocoaErrorDomain Code=1560 UserInfo=0x14f5480 "Operation could not be completed. (Cocoa error 1560.)", {
...
Hello,
I'm after some validation that I'm doing the right thing. I have my Ruby on Rails application in the following structure:
/home
about.rhtml
index.rhtml
/display
index.rhtml
/data <--This is called by jQuery from the display\index page to provide the data to render
push.js.erb
pull.js.erb
/layout
home.rhtml
...
I want to ship some default data with my app. This data can be stored perfectly in a property list. The strucure is simple:
Root
0
animalType = cat
animalName = Tom
1
animalType = dog
animalName = Rambo
I thought: When I use a property list rather than hard-coding it somewhere, then I could easily provide m...
I was previously using initWithContentsOfURL to download a plist into an NSDictionary, but this hangs the UI when run on the same thread so now I have moved to NSURLConnection the issue is that I can no longer call a method to init the NSDictionary with NSMutableData. What is the best way to take NSMutableData and place it into an NSDict...
I'm looking for a way of how to provide more localizations for my app after it has been released, without the need that Apple has to approve every little change in my localization files. i.e. my app may first ship only in english, but a week later I may add czech, french and spanish as well.
So generally, what would you suggest? As far...
Imagine I write a simple calculator application, that just calculates simple stuff like
1.5 + 30 + 9755 - 30 - 20000 + 999900.54
I remember slightly that there were some precision problems when using floating point numbers. At which point would my calculator app start to create wrong results? Most of the time, I would just calcula...
Hi
I have a UIView that updates based on data in a certain object.
I'd like to be able to add a refresh button to my toolbar that reloads the object and redraws the view. I don't want it to happen every time so don't want to use viewWillAppear:
Sounds like it should be a popular thing to do but I can't seem to find any answers on here...