I'm trying to use a pretty straightforward custom map annotation view and callout - the annotation view when I create it, just adds a UIImageView as a subview to itself. That works fine.
However, when I call canShowCallout on the annotation view, An exception is thrown in MapKit immediately after returning the view. The end of the sta...
Hello,
I'm struggling in creating a RTL UI in iPhone application. The framework doesn't seem to have any support for RTL languages.
The only thing is the alignment inside labels, which is nice, but it conflicts with other controls behaviour.
The question is:
Is there a working code for a RTL TableView? Something that would handle the d...
Given a view hierarchy that looks something like this:
ContainerView
UIScrollView
ModuleView
ModuleView
ModuleView
...
I'd like the ContainerView to lay the ModuleViews out in some arbitrary fashion (list, grid etc.). To do this, I'd implement -[ContainerView layoutSubviews] which would iterate through the ModuleView...
I use instruments to see memory leaks. At least in one scenario where I am constantly flicking through slides/pages (inside UIScrollView) I don't see any memory leak. Using instruments - under "Allocation lifespan" I switch to view "Created & Still Living" and see memory around 1.17MB throughout. I assume this means my app is using only...
The table view section headers in my plain (non-grouped) UITableView only appear when the table has been placed into editing mode. This is because I have two sections in the table view: Active and Inactive. I only wish the Active section to be displayed normally, but require both Active and Inactive to be displayed when in editing mode. ...
Hi,
How can i add a NavigationBar with a NavigationBarItem in a NavigationController, such that when i push my navigationItem i should get my previous view without using Interface Builder in Objective-C
...
hi,
I am developing image framing application for iphone. when i choose image from image-picker controller and after zooming , cropping,pairing with frame i will save the image. for that
i am drawing image context over image. actually my image is of 1200*1600 size but our connivance taking image frame of 320*480. so after drawing ima...
When an application is being submitted to the Apple App store,
I need to choose whether the app implements cryptography or not.
My application itself does not use any cryptography, BUT it has In app purchase feature, i.e.
the users can download additional paid content.
I still didn't drill much into the in app purchase details, but I...
Hi All,
I am trying to implement a case, wherein cells in the tableview, display some text. When the user selects a particular row, the cell expands to display some more text(by increasing rows' height).
The problem is the detailed data of the selected row remains visible even after another row is selected, creating a overlapped view....
So I have this App in the store, and I would like to release it on another account, newly created. Is anything like a transfer possible? Or would I have to remove it, and re-release it? Would that result in problems with Apple?
Does anyone have any infos about this issue?
...
Hi!
I have a UITableView fed from some arrays.
When the user selects a specific row, for example row 3, i would like to add a checkmark and change the text color (not the selectedTextColor, that i have already managed) of that row to red. I would simultaneously like to change the text color of, for example row 5, to green.
How can this...
Hi,which is the best in the following?
-(NSString *)send
{
NSString *str = @"hai";
return [str retain];
}
-(NSString *)send
{
NSString *str = @"hai";
return [[str retain] autoRelease];
}
...
Hello,
SHORT DESCRIPTION OF PROBLEM:
I want to set the text of a searchbar without automatically triggering the search display controller that is bound to it.
LONG DESCRIPTION OF PROBLEM:
I have an iphone application with a search bar and a search display controller. The searchdisplaycontroller is used for autocomplete. For autocomplet...
I have been browsing SO and various other sites to find out whether this is possible, it definitely seems to be!
The problem I have is every "tutorial" seems to state that the UIButton needs to be inside a UIView of some kind and I can't quite figure out how to get the XIB together to allow the animation.
Any and all help would be grea...
I'm getting confused. I add resources (mp4 videos) to the resources folder in xcode and run the simulator and it picks them up, great!
I delete the file and simulator still picks it up from the resources directory. I delete the file in the app bundle that xcode is using and it still detects this file. I'm at a loss as to where/how I sho...
As announced, it is now possible to develop Iphone applications with Actionscript.
My question is: is it possible to control iphone devices such as the GPS receiver and/or camera using actionscript? Is there somekind of "AS3 for the Iphone"-framework?
I know my question is short, but this is all I need to know for now.
...
My problem is I am getting an error:
OCMckObject[NSNumberFormatter]:
expected method was not
invoked:setAllowsFloats:YES
I have written following Code:
(void) testReturnStringFromNumber
{
id mockFormatter = [OCMockObject mockForClass:[NSNumberFormatter class]];
StringNumber *testObject = [[StringNumber alloc] init]; ...
Hello!
I made a photo album viewer for iPhone. I have made a scrollview in which i put imageviews with the images. The images are pretty large, about 1 Mb. I have to show about 200 photos. I don't know why my solution leaks, I guess I don't release the imageviews well. I read many topics about these kinds of problems, about image ca...
Hi Guys,
I have page control but not navigating to other view. so please provide the solution.
pageControl=[[UIPageControl alloc] initWithFrame:CGRectMake(0,380,320,40)];
pageControl.backgroundColor=[UIColor clearColor];
pageControl.userInteractionEnabled =YES;
[pageControl addTarget:self action:@selector(pageAction:) f...
Hi,
I have a requirement of developing an application which will be compatible for iPhone and iPod Touch 2.0 and above.
So I have number of questions.
1) Do I need to take care of all the deprecated methods and how?
2) I think there is no support for GPS/Camera before 2.2.1 so what is the best way to handle this using version below it...