Hi,
I need share on twitter in my application through iPhone.App has to tweet in the twitter. There is a button action on clicking which twitter login page should open.
How to do this?
Code for this appreciable..
Thank You.
...
I'm new to obj-c and I'm used to creating a property declaration for all my member vars and synthesizing them, just got the hang of it in fact. Along comes a need for a simple C array of a struct I typedeffed myself (I guess the struct aspect doesn't really matter).
Can someone explain what I should be doing with this C array as far as...
I need to add a simple loading animation on top a my view..and want it to be in the center of screen(visible aria)..can anybody point me to the right direction.?
how to get the center of the window so that i can addSubview..?
...
I have a game which have 5 class/level.Each class contain almost same variables.Now i want to know in which place should i declare my class variable.I have three option-
1.declaring the class variable in corresponding class .h file.
2.declaring a variable .h file(an empty .h file only for declaring variable and then import it to corresp...
Hello! I have a simple class that looks a bit like this:
@protocol Recorder
@property(BOOL) isRunning;
- (void) start;
- (void) stop;
@end
And the method implementations:
- (void) start {
if (running)
return;
…
running = YES;
}
- (void) stop {
if (!running)
return;
…
running = NO;
}
And I st...
Hi,
I am trying to make a custom transparent bordered window(without tittle bar) to capture a part of the screen.This window should be resizeable from the bottom right corner area,and could be moved by dragging any of the border lines.This window should be such that, it could also be moved over the apple menu.
I am very new to Cocoa, C...
I am trying to use UIWebView to load a Chinese web url. If I encode it with utf-8 then it becomes:
html/libfunctions/%CA%FD%D7%E9%B9%DC%C0%ED(Array).htm -- xchm://03000000-0A00-0400-F25E-D84B09001600/ which cannot be loaded from UIWebView.
If I try to put it using the default one of Chinese: html/libfunctions/录脝脢卤脝梅鹿脺脌铆(Timers).htm, th...
hello to all, i have viewOne which contain a method to trigger camera n capture the image,
and i have another view(viewTwo) to show image which captured from previous view..
here am struggling to show image which captured in viewOne's View to viewTwo..
can anyone give me some suggestion how to show image from one view to another..
tha...
I am using following code to resize an image - it all works well and as expected...
Resize UIImage the right way
I use interpolation quality as kCGInterpolationLow and UIImageJPEGRepresentation(image,0.0) to get the NSData of that image.
The problem is that the image size is still a bit high in size at around 100kb.
My question is ca...
Hi
I am working on an iPhone app which requires me to check if the button has been tapped & held pressed for 6 seconds & then fire an action which is playing some sort of sound.
How should I detect this 6 second tap ...?
On the other hand the user can also keep on tapping button for 6 seconds & then the same action should fire.
Wha...
Hi,
I have created a rotating wheel of 5 images. What I would like to find out is which image ends up in the top right corner.
Is there any way I can realize which one is in the top right corner through coding?
Thanks :)
...
Hi guys.
I'm trying to add a button on the bottom of a TableView, without any success.
The idea isn't to use the tableFooterView property, as that doesn't show the button in a fixed position.
My idea is more along the lines of the Facebook application's Notifications bar on the bottom.
I'm using Three20.
Any pointers on how I can ac...
HI all,
i am developing a puzzle game in iPhone using cocos2d.I need a progress bar (like uiprogress bar) to show the game progress time.But i can't find any good example...
can anyone tell me the way???
...
To display attachments on a messaging system I'm developing for my app, I've got a UIWebView which is presented in a ModalViewController, displaying the file contained in the attachment.
If it's any help, the code I'm using to display the file is as follows:
NSUrl docUrl = NSUrl.FromFilename(filePath);
NSUrlRequest request = new NSUrlR...
Who has working example of Stacked Bars?
-(void)setupBars
{
// Add plot space for horizontal bar charts
CPXYPlotSpace *barPlotSpace = [[CPXYPlotSpace alloc] init];
barPlotSpace.xRange = [CPPlotRange plotRangeWithLocation:CPDecimalFromFloat(-180.0f) length:CPDecimalFromFloat(360)];
barPlotSpace.yRange = [CPPlotRange plot...
This is probably going to be tough to explain.
Basically I have the following structure to my project:
I have an object (graph) which controls other objects (nodes) and (arcs).
Everything is working fine and dandy but I've found the need to add buttons to my node objects. This is working fine too, I have an NSLog output letting me kno...
I would like to build a gallery view of the photos similar to native Photos app, with possibility to slide image to left and to right. I want to display some extra buttons and label on each slide. could you advice me, please, where to dig?
...
Hi,
I am using Oauth to connect to Twitter in my iPhone application.I am getting 18 errors.One of which is
".objc_class_name_OAMutableURLRequest", referenced from:
literal-pointer@__OBJC@__cls_refs@OAMutableURLRequest in SA_OAuthTwitterEngine.o
Remaining 17 errors are of similar types related to "libOAuth.a" static library.I...
My app crashed because of Low Memory. I'm not sure if its entirely my fault because it lists about 7 or 8 other applications that crashed alongside? How should I handle this?
Incident Identifier: 2CC74C33-179F-4CD2-8FAA-00CF0A344749
CrashReporter Key: 1657e021ecba3a19c5ed9f0cff62947a426a2bc2
Hardware Model: iPhone3,1
OS Version: ...
Does anyone know of another good game SDK/Engine for the ipad or iphone other than CORONA?
...