hi all.
I am having about 60 different images coming from the webservice.And I am storing it in a NSMutablearray.
now when I load the image for the very first time , each image will consume about 0.5 to 1.5 mb of space of iPad. As I do have multiple images the memory consumption reaches very high and then application gets crashed.
I a...
in objective c i want to replace string which is between two string.
For example
"ab anystring yz"
i want to replace string which is between "ab" and "yz".
is it possible to do? Please Help
thx in advance.
...
Can someone please list the steps needed to get a project setup for the AppStore. Lets assume the following
I do not have any certificates, provisioning profiles, distribution profiles, app id (whatever they are), etc.
I have an iPhone and an iPad
In addition, please specify
1. what I would need to do if I created a second App
2. If...
give the proper code for this program
...
I want to integrate the iPhone sms like chat bubbles in my application. But when I read more about it I found that this will not be approved by the app store. Is this true? Cant we use chat bubbles in the application?
Here are some links which describes this.
http://www.iphonestalk.com/iphone-app-store-submission-rejectedbecause-of-cha...
I am very new to iPhone Programming, so this question may seem a little silly...
I am developing an app which is a UIViewController Based application. so when you run the app a Main View will be shown which is a Full Screen View and is actually my Main Menu Window. i have a few menus inside. when i click any of these menus, i will load ...
I wrote a small application and tried running it on my device. I had written a function and tried calling it in application did finish launching. It didn't get called every time I ran my app from the homescreen. Then someone told me that applicationdidFinishLaunching doesn't get called every time you launch your app from the homescreen. ...
Hi,
I need to decode H.264 format videos which is encoded in the server end. I found similar link which talks about it and this is the task I need to do to decode the video.
http://stackoverflow.com/questions/3142439/streaming-live-h-264-video-via-rtsp-to-iphone-does-work-w-example
I am not sure whether this is the best way of doing ...
I have added the message ui framework to my application and it is working fine on 2 devices (ipod 2G with ios 3.0 and iphone 4.0 with os 4.1). But when I gave the code to the customer (iphone 3gs or 3g with ios 3.0) he sent me this log that was shown him after building and running application.
2010-10-11 14:29:33.849 GhostCamera[31099:2...
I'm looking in open source implementations on top of the In App Purchase, maybe with the server-side implementation.
I know about http://urbanairship.com, but I prefer do it in-house.
...
Hi guys,
i'm tring to understand the Audio * things for iPhone
currently i'm reading: core audio overview
here i got a question:
from apple example codes:
- (void) calculateSizesFor: (Float64) seconds {
UInt32 maxPacketSize;
UInt32 propertySize = sizeof (maxPacketSize);
AudioFileGetProperty (
audioFileID,
...
Hi guys,
I hope you can help with that.
OK i have created new group/folder under Classes - Libs: Classes/Libs and have created class there Msg.h
now I am trying to import it into my RootViewController
#import "Libs/Msg.h"
but I am getting an error:
Libs/Msg.h = no such file or directory
what should i Do ?
cheers,
/marcin
...
Hi Everyone,
I want to play youtube video within my application with url.I tried the following code but it doesn't work.
NSURL *url = [NSURL URLWithString:@"http://www.youtube.com/v/pGqraZN5U0k&amp"];
MPMoviePlayerController *moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:url];
if (moviePlayer)
{
[self.moviePlaye...
Hi,
I need to manage server sessions in iPhone. As I researched there are many ways. One way is to use the apple native method calls by make use of the NSURLConnection and NSHTTPCookieStorage classes. However using the 3rd party libraries like ASIHttpRequest can also be helpful cos it already has implemented the above scenarios. So what...
hi all,
I do have an xml file like,
<posts>
< photo id="12412" private="false" >
<title>happy_diwali_diya_wallpaper</title>
<caption>Happy Diwali</caption>
<dateCreated>2010-10-14</dateCreated>
<dateLastUpdated>2010-10-14</dateLastUpdated>
<postDate>2010-10-14</postDate>
<orientation>HORIZONTAL</orie...
Hi everyone !
I need to use a property defined in MPMoviePlayerController called currentTime (in iOS 3). It seems to be a private property but not in iOS 4, which is now called currentPlaybackTime.
I want my app to be launched starting iOS 3.0. So I wrote this :
@implementation MPMoviePlayerController(extended)
-(double)time {
...
I have a class like this:
@interface MyCollection : NSObject {
NSMutableDictionary *data;
}
and in the implementation of it, I have a method to init it like this:
- (id) init {
if(self = [super init])
{
self.data = [[NSMutableDictionary alloc] init];
}
return self;
}
Now when I create a object of this ...
i m playing youtube video on iphone and ipad. but in the case of ipad youtube Done Button not working properly. when we click done button then nothing do whereas i want to back my page. Done button is working on Iphone Properly.
Thanks in advance
...
I am trying to listen for UIMenuController Notification in iphone sdk 3.0 .
But it seems that my notification can never get called. Here is my code:
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(menuControllerWillShow:) name:UIMenuControllerWillShowMenuNotification object:nil];
and my method
- (void)m...
I try to recompile my iPhone application in os4. To do this I simple install the new sdk on my MacBook.
When I try to recompile I take a lot of strange errors (33).
It is not clear for me the error reason because this errors seem to be out of my code.
Which is the best way to migrate and recompile the sdk 3.x application in the new 4.x...