Hi Everyone,
We have created an iPhone application which has lot of images in that and we are using facebooker plugin. When we are checking for the memory leaks, it shows lots of memory leaks in foundation framework and CoreGrapics. If anyone will be having any idea about this, please share it with me.
Thanks
...
I have an NSMutableArray that holds multiple and changing amounts (that's why I am using an NSMutableArray) of UIImageView's that I want to save and also in return load when my app quits and loads. Also, how would I then, after my app loads, get the image viws out of the array
...
Have few short sound effect samples, which play just fine in emulator, but not at all in real iPhone 3GS. Here's the code, about as-is from Apple SysSound sample:
CFBundleRef mb = CFBundleGetMainBundle ();
CFURLRef soundFileURLRef = CFBundleCopyResourceURL
(mb, CFSTR("mySound"), CFSTR ("caf"), NULL);
SystemSoundID sid;
AudioService...
I have implemented a UIScrollView that I want to scroll with two fingers and not one. I could easily deal with setting the content offset but how would I get a two finger swipe gesture acknowledged then?
...
Hi Everyone,
We have a code like this
NSData* imageData;
UIImage* imageForData;
UIImageView* imageView;
NSData* imageData;
UIImage* imageForData;
UIImageView* imageView;
CellWithId * cell = [[CellWithId alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier];
CGRect frame;
frame.origin.x = 5;
frame.origin.y = 0;
frame.si...
I have a UIButton within a UIView. The button is docked on the bottom of the view using the Autoresizing Masks. The button is working fine when the view initially loads and the IBAction is being called successfully.
Now when I resize the height of the parent view the button stays docked at the bottom of the view, however now only half...
I just started testing my App on my iPod, and I have to click numerous times the info light button which is attached to my second view to show. I have to click it probably 10-15 times, then it finally triggers the second view to show. Of course in Simulator it works fine, but on the iPod it's rather weird that I have to keep hitting it t...
I think I'm missing something fundamental and so I want to ask the community for some help. I'm building an app based around a basic iPhone Utility Application. My MainView and FlipsideView share some elements so I have created separate ViewControllers and nib files for those pieces. In order to do this I have done the following:
1. Crea...
I am trying to implement this button action, but the if statement is not evaluating to be true. I have a situation where the value in that "School" dictionary will not always have a website stored. For that reason i want to check, but what do i check against. If "nil" is not stored there when there is not a value, then what is?
-(IBAct...
Is there a way to get the offset time zone for a given date.
For example, if I am in New York and I pass in 12-12-2009 4 PM I would get back "-4" as we are 4 hours off GMT.
(In .NET land there is a function to do that off the DateTime class. So I'm guess Cocoa has it too?)
Ian
...
What are the specifications required by Apple for a splash page for a custom iPhone application?
...
iphone support "Screen" media type then how to make PC website compatible with iphone screen? While both uses same media type?
I know iphone do not support FLASH but if website has fixed width images, uses of jquery and 960 px fixed width. then how to make compatible with small screen iphone.
...
I have build one of my application on iphone but refuse to build that on m iphone .
Can u tell me the proper steps for launching my application on my iphone and step by step procedure for setting the project settings.
...
how to remove following problem
Command /usr/bin/codesign failed with exit code 1
Iwant to proper method to remove it.
Plz someone help me as soon as possible.
Its hell problem creating a lot of hedache from last 10 days..............
...
I have a UIView that gets created and added as a subview dynamically, not in interface builder. Problem is the subview disappears eventually and all that is left on the screen is the objects that are defined in the xib that is being loaded.
It seems to occur once the retainCount of the subview drops from 3 to 2. I'm fairly new to iPhon...
Hi There,
I ve written an app that downloads files from a sever via http. The users will always be on WLAN when using my app. It downloads files of <10MB without any issues but the application just hangs for larger files.
Is there a best practice way to download large files or do i need to implement some form of chunking?
Any code sampl...
From the docs I was reading that @dynamic creates the accessor methods at runtime, while @synthesize will create the accessors at build time.
So let me guess: @dynamic saves some memory and code is kept smaller in memory pages? or what? and what other differences are there between these?
Would it be ok to say: "It's always a good idea ...
May be a silly question, but what's a class called that inherits from NSManagedObject? Is that an "Entity" class? Or is that an "Model" class? Or an "Entity-Object" class? I mean... ok, when I instatiate that thing I get an "Object". The "Entity" itself is actually the "Class" that describes the attributes and relationships, right?
From...
Hi!Before anything i'm sorry for my bad english.
I'm trying to draw a route in a UIView and set that view as a MKMapView.
Now i have a UIView class (ViewClass) where i put all the touches methods and set the view of my viewcontroller as an instance of that class. The MKMapView is a viewcontroller.view subview.
I can get all the touch...
So I finally got a Mac to play around with and I'm downloading the massive iPhone SDK.
Do any of you iPhone/Mac programmers have a favorite book? Site? Tutorial to get started with?
I haven't touched C code in a long time and have only briefly seem some Objective-C code. I'm a full time asp.net/C# dev, so I have a programming backgroun...