Hi all
This is about an iPhone App using MKMapKit:
I created a custom MKAnnotationView for a draggable Annotation. I want to create a custom animation. I set a custom pin image and the annotation is draggable (which both is not shown here, it happens in the mapview) with the following code:
- (void) movePinUpFinished {
[super se...
Hello All,
So I am working on a bundle of applications for my company for the iPad and am trying to figure out if it is possible to install an app but hide the icon. It will not need to be launched from the desktop directly. Instead, I have created a launch desktop that controls login and the launch of the actual apps via custom URL s...
Hi there,
I recently installed XCode 3.2.4 to my machine. This comes with iOS SDK 4.1. Annoyingly I can no longer install my app to any iPhone. The option to tick "Device" in the drop down for where to install to is present, but when I click it, it doesn't become ticked. Strangely I can only run my app on the simulator, despite the opti...
Basic question here about the structure of a basic iOS MVC app..
I know IBOutlets are used for accessing view elements such as buttons and labels and such and modifying or getting their values..
Is it normal though to use an IBOutlet to access another object in your app FROM a view??
For example..
@interface CustomView : UIView {
...
Hi all. When I use the MPMoviePlayerViewController, I don't seem to be able to change the modalTransitionStyle to anything other than the default slide up animation.
Has anyone else managed to get this to work?
MPMoviePlayerViewController* theMoviePlayer = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL fileURLWithPath...
I'm developing an Android application and I would really like to deploy it for the iPhone as well.
However, I do not know Objective-C and I think it would take an annoyingly long time to figure that and the Apple framework out.
Is there a recommended way to port an Android application to iOS? Would the best bet be to hire a freelancer?...
In 3.0, I could register for MPMoviePlayerContentPreloadDidFinishNotification and detect if the movie preloaded or failed, depending on whether there was an error object. Can anyone tell me the equivalent of the two cases for iOS4?
[Update: Responding to the first comment here because the max comment length is too short.]
If you succe...
I would like to revamp an old question, concerning the development of apps on the iPod touch as a cheap replacement for the iPhone:
http://stackoverflow.com/questions/1128245/ipod-touch-compared-to-iphone-as-development-platform-for-iphone-apps
Now Apple has released the new iPod touch with Retina display and the iPhone 4, both with iO...
Hi
I am creating an iPhone app for checking your school timetable. At the moment you have to manually enter your timetable, which is very very time consuming, and I don't think that anyone would even bother with it.
However, my school has a V.L.E. on it's website and we can access our timetables online by entering our username and pas...
The recent upgrade to XCode 3.2.4 and iOS SDK 4.1 lead to that my unit tests are not working any longer with my iOS project. The project is currently only running on the simulator, not real hardware.
I tried to make a new blank project with a dummy test case added that will always pass, but it does not work either, giving me this result...
Dears,
I 'm a novice in iphone programming. I am trying to make an iphone App that displays mainly Arabic language content. I want to use a custom arabic font for displaying that content, not the iphone default arabic font. I used the following code:
- (void)viewDidLoad {
[super viewDidLoad];
[arabicLabel setFont: [UIFont fontW...
Hi there
I started a project under iOS 3.1 and I stopped developing for a while. Now I installed the new SDK with iOS 4.1. If I wanna build now, there is a error message which says "There is no SDK with the name or path 'iphoneos3.1', which actually make sense.
So how can I "upgrade" my project to iOS 4.1?
thx
...
Hi,
I have the above mentioned problem, with an app wich used the AdMob SDK.
I'm using latest SDK of AdMob, on 4.0.1 iOS SDK.
My problem consists of two parts:
In the Simulator, the app boots, and outputs through NSLog that an ad has been received, but the whole screen stays black (my UI is not showing)
On the Device, the app won't b...
I'm having trouble with my update logic. I need to include a file in the app bundle which contains specific update data. When the app discovers this file, it checks to see if it's a first install (no update needed) or a previous install (apply update). Whatever the outcome, the update file needs to be deleted, so it's not found again,...
After upgrading to the 4.1 iOS SDK my unit test bundles always return with the following two errors and one warning:
An internal error occurred when handling command output: -[XCBuildLogCommandInvocationSection setTestsPassedString:]: unrecognized selector sent to instance
An internal error occurred when handling command output: -[XCBui...
I'm adding Game Center support to my game. Because my game can run on iOS versions back to 3.0, I want to have it fallback to just saving achievements and leaderboards locally in the absence of Game Center.
Right now, I have this:
+ (BOOL) isGameCenterAvailable {
Class playerClass = NSClassFromString( @"GKLocalPlayer" );
if( playerC...
Using
UIATarget.localTarget().frontMostApp().logElementTree;
when I know that there is a keyboard present (after tapping a text field) shows that there is a UIAKeyboard element in the hierarchy. However, it does not have a name. I'd like to get a ref to that so that I can dismiss it from the script.
My best guess is to use something li...
I have just started working on an old project using iOS 4.1 (Xcode 3.2.4) I have noticed when compiling using LLVM 1.5 that I am getting various errors that I don't remember getting before. Swapping to LLVM GCC 4.2 removes the errors so I am guessing its the LLVM compiler thats at fault.
Does the LLVM Compiler 1.5 work when compiling fo...
I'm having problems with reordering a UITableView. The tableview in question presents a playlist for video files. Data is stored in an NSMutableArray. Pushing the "move" button (UIBarButtonItem) enables reordering. Everything working so far. Pushing another button starts playing all the files in the table.
Playback of the movie is initi...
Hi there, I've made my app play music in the background, I also successfully made it become the media player by calling BeginReceivingRemoteControlEvents. however, the RemoteControlReceived method never gets called. the same logic in Objective C is working fine. Any samples or guidelines appreciated.
...