Hi there,
I'm trying to add a continous animation onto my UITableViewCell-Subclass.
It's a rather easy one with an Image fading in and out (fading between 0.4 alpha and 1.0),
what i've tried so far ist the following:
-(void)animateRecordingIndicator{
[UIView beginAnimations:@"RecordingIndicatorAnimation" context:nil];
[UIView s...
I'm looking for some very simple to develop line graph library. However, all the examples seem quite complicated. I have a database with two main fields, date and value.
Can anyone point me at or provide me with an example of code which will do just that ?
...
I want to be able to store a text document on a server and then read this document when my app launches.
I would want to read e.g. a description for an object and item number, and a few urls to images and sound clips.
Is reading in and parsing a text document the best way to do it? If so how is it done?
Thanks
...
Hi Guys,
I have one problem :I have UISegmentedControl with three indexes 0,1,2. when i select the index of UISegmentedControl it is working fine but I need to have multiple touches and it should be focued How it can be achieved. how can be programed for Tapping the selected index again and it should work...
NSArray *segmentTextC...
Hi i created one sample application that saves data as text file using simple c (FILE) function . I am using below code
FILE *fp = fopen("Log.txt", "w");
fprintf(fp,"%s\t %s\t %s\t %s\t %s\t\n","Id","Type","MacId","IPAddress","Version");
fclose(fp);
When i run this code in simulator.There is a Log.txt file in Macintosh HD folder.Then ...
Hi , i've got a strange problem: i've made a simple app using three20 framework, it builds without error, after installing the app on 3GS it works great, but after opening it on jailbroken 3G ot crashes with following errors:
warning: Unable to read symbols for "/Library/MobileSubstrate/MobileSubstrate.dylib" (file not found).
warning:...
Hey.
I am currently using [NSString stringWithContentsOfURL:url] to download the contents of an external webpage to my app.
Is there any other way that might be faster or better/safer?
...
hello all assume u r write a code for a piano instrument. Is a good way to make for every button IBAction or all buttons in one function return the sound clicked by the user
thanks all
...
Hi, the method didFinishLaunchingWithOptions is not being called when i
launch via push notification on a multitasking OS4.1 3GS device. I just get
AppdidEnterForeground called. Is this the way it is on a multitasking device. The docs
don't say this. If it is not called how do i access the launchOptions dict.
Thanks
...
Hey!
I have an NSMutableDictionary with some values in it, and I need to join the keys and values into a string, so
> name = Fred
> password = cakeismyfavoritefood
> email = [email protected]
becomes name=Fred&password=cakeismyfavoritefood&[email protected]
How can I do this? Is there a way to join NSDictionaries i...
Hi all.
I want set my custom method "Home" with RightNavagation button how should I?
My code
UIBarButtonItem *barButton = [[UIBarButtonItem alloc] initWithTitle:@"DontWorryAboutThis" style:UIBarButtonItemStylePlain target:self action:@selector(home:)];
[barButton setImage:[UIImage imageNamed:@"home_btn.png"]];
[self.navigationItem s...
My class has logic for inserting views in certain levels in the hierarchy.
containerView = [[UIView alloc] init];
shadowView = [[UIView alloc] init];
contentView = [[UIView alloc init];
[containerView addSubview:shadowView];
[containerView insertSubview:contentView belowSubview:shadowView];
Later down the line, it flips them so the sh...
Hello all
i try relly all, but i can't finde out how i can uploade fotos from my iPhone in a iPhone browser to the server? i have try whit simple HTML but its not work, can sombardy maby help me?
i use the jQuery lib. jQTouch if its help.
...
Hi all,
I wonder if anyone can help me with following. I have written a Quartz 2d ap and have used the following code to get the correct scale factor for each device :
if ([UIScreen instancesRespondToSelector:@selector(scale)])
{
return [[UIScreen mainScreen] scale];
}
else
{
return 1.0;
}
I then multiply all values b...
Hello everyone
i used code below in my application and if i increase or decrease the volume from the iphone's button it still the same but if the phone in silent mode the voice will be muted
the code:
-(void) playNote: (NSString *)Note type: (NSString *)type
{
CFURLRef soundFileURLRef;
SystemSoundID soundFileObject;
...
After a user purchases an app from the app store, and runs it, is it possible for the app to know how much the user paid for it? Does Apple have any APIs that can access this type of metadata about the actual purchase of an app?
If not, I suppose I could fall back to looking up the country of the user, doing currency conversion rates, a...
The plist has the file suffix .xml and is a normal array of dictionaries.
In the app delegate:
#define docDir [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]
-(NSString *)cacheFile:(NSString *)filename sitepath:(NSString *)url {
NSMutableString *retfn=[NSMutableString string];
...
I create/push my ViewController, display some informations and navigate back to my RootViewController. While I navigate back the app crashes (EXC_BAD_ACCESS).
With Instruments I found out that the dealloc of my ViewController is called, which releases my wrapper class. In my wrapper class also the dealloc method is called. This dealloc ...
Hello all,
my app run in landscape mode i want it to be always in one form i.e suppose the background is stackoverflow picture in this case stack will be beside the ear speaker and flow beside home button i want when the user rotate the iphone 180 degree (still landscape mode) now flow will be beside the ear speaker and stack beside hom...
Hi,
I'm Fabio and i'm here to find help with an issue about GameKit.
I'm writing a program that allow users to play online games. The program use "manual" GkSession (without GkPeerPicker 'cause I need 4 connection).
NSString *name=[[NSString alloc] initWithUTF8String:pData->m_sPlayerName];
if(pNetMgr->GetServerMode())
self.current...