If I use MPMoviePlayerController to play video in my iPhone app, it opens, loads the movie, plays it and then closes. Is it possible to force it to stay open after the movie finishes, so that user can replay it using its controls, instead of using controls in parent view? Also, is it possible to start MPMoviePlayerController in the pause...
hi everyone
i have found a bug in IE8 using the new Facebook Javascript SDK.
i call a Post dialog using:
FB.ui(
{
method: 'stream.publish',
display: 'dialog',
message: 'test',
attachment: {
name: 'test',
caption: 'test',
media: [
{type: 'image', src: site_url+'test.jpg', href: site_url}
],
description: (
...
For developing programs for windows, we need windows SDK. I understand that this SDK is what helps to create windows and handle window events and all that. I suppose it also enables us to manipulate with files and registries.
(Does the same SDK is the reason for thread creation and handling?)
All that is fine!
I would like to know wha...
Hi, I manage to localized app icon and app name for different languages.I found the icon changes depending on the language setting on the iphone only when the first time when you install the app from xcode.
after that, if i change the language setting, the app icon stay the same but only the app name changes to the localized one.
Any...
Hi guys,
I've just completed my first app and having tested I'm ready for submission.
However, despite numerous web searches and reading, I'm struggling to finalise the method required to enable me to have a different name on the app store to the name that appears under the app on the device home screen.
In the plist.info file there i...
Hi , i try to load a view via UIPopover but my app crash after tap the popover button , i tried to solve it but i don't understand ! here is my code :
-
(IBAction)calendarPopUp:(id)sender {
PopViewController *cal = [[PopViewController alloc]init];
//The compiler tells me the problem comes from this line :
UIPopoverController *popOve...
(I'm coming from an iPhone dev world. )
In Android do we need to worry what OS version we compile against? In the iPhone world I would usually target a release that's at least 6 months old to limit the number of issues with installing on iPhones with old OSs.
What strategy should I use when choosing what to compile against on the Andro...
Hi i have a Button i want hold this button to write something but i don't know how can i recognize hold button , can you help me ? thank you
...
I have a custom class of type NSObject that contains a single NSMutableArray. This class is called Mutable2DArray and is designed to emulate a 2 dimensional array of type NSMutableArray. There is a custom init method - (id)initWithX:(int)x Y:(int)y that asks for the dimensions for the array and allocates the required arrays within the on...
Hi all,
In my app I want to load some initial data to show the user how it works. The app uses a CoreData managed sqllite db.
SO far I've thought of 3 options:
Write code into a class to programmatically create the data.
Create a xml file in the apps resources and load through a NSXmlParser whose delegate creates the entries in the ...
hi all
i am trying to make a musical app for iphone.
the app is simple. there is a couple of musical note sample (caf) files. when user taps the predefined positions on uıview(like strings). app plays note sample and add a string value to a nsmutablearray about note.
played note lists displays in a table.
now i want to add a shake an...
I want to create a triangle using Quartz 2D functions. The 3 edges of the triangle should be in different colors. I am able to create the triangle but not able to set the color of each edge or subpath separately. Any suggestions or sample code are much appreciated.
...
Any suggestions on how to perform erase operations in Quartz 2D?
...
Hello There,
I'm writing games onto IPhone platform and want to leverage the "Play ITunes music while running your app" feature. This is something introduced in OS 3.0 but I want to target OS 2.2.1 with sacrificing that feature, as well.
I'm compiling against 3.0 and have the minimum support set to OS 2.2.1. I also weak referenced "Med...
Hi,
I'm trying to get a UITableView to read it's data from a file. I've attempted it like this:
NSArray *paths = NSSearchPathForDirectoriesInDomains
(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *fullFileName = [NSString stringWithFormat:@"%@/entries.plist", documentsDir...
I’m writing an objective-c program that does some calculations based on time and will eventually updates UILabels each second.
To explain the concept here’s some simplified code, which I’ve placed into the viewDidLoad of the class that handles the view.
- (void)viewDidLoad {
[super viewDidLoad];
// how do i make this stuff h...
Does anybody that know a little bit about xcoding want to build a pdf reader-viewer together?
I have found a good startingpoint with a reader in a uiwebview.
What needs to be done is some navigation to step between the pdf pages.
I dont know much xcoding since I build most in uiwebviews, but I know a bit about designing and user navigat...
Hi all,
It's been a while I'm consulting stackoverflow, but this time I didn't find any answer :(
My question is quite simple :)
On an iPhone/iPod touch, play music.
Double tap the home button while the music is playing. You will see appear a popup with the play/pause/next/previous buttons and a volume control.
Do you know if it's pos...
In Safair mobile you can zoom in by double taping if you have a html page that you display.
But if you use a uiwebview and display an image or pdf file you have to pinch open to zoom.
My question is: what do I have to do to get double tap to work when displaying an image or pdf file i a uiwebview?
Can you make the uiwebview a sub view ...
Hello, i'm trying to hide an AnnotationView without touching the pin, is the possible?
Thanks!
for (id currentAnnotation in self.mapView.annotations) {
if ([currentAnnotation isKindOfClass:[MyAnnotation class]]) {
}
}
...