[iPhone SDK 2.0 beta 7]

What happened to the UITransitionView that use to be in UIKit? If they deprecated it it looks like they would be some reference in the library to that effect. I can't seem to find any reference or mention of this on any official apple developer site but there are many references to it elsewhere. The easiest thing perhaps would be to add the standard left, right, up down transitions to the UIView class in addition to the flip and curl transitions they already have. either that or provide some standard left right transition examples that don't involve tableviews. A plain simple button on one view linked to a left/right transition to another view sort of like the flip control but more flexible that a simple hard coded two view flip flop like they use in the Transition sample.

Dont really care any more I have moved on.

Similar Messages

  • IPhone iPhone SDK (build 9M2199a, beta 8) Security.h Security-Framework

    Hi!
    I've downloaded and installed the iPhone SDK (build 9M2199a, beta 8).
    Now, i'm trying to write code to use the Keychain in iPhone but "SecItem.h" in "Security.h" (Security-Framework) is missing so the Attributes (kSecClass, ...) can't be found and the code doesn't compile.
    Where i can get it ?
    Thanks for help.
    Message was edited by: iPhoneProj

    I had the same issue. The security code seem to only work if you build for Device|Debug. You can't run the code in the simulator.

  • Can you download the iPhone SDK 3.0 Beta on Leopard 10.5.5?

    Do you have to have 10.5.6 installed to use the iPhone SDK 3.0 beta and iPhone OS 3.0 beta?
    Thanks

    If the software requirements for the SDK say 10.5.6, then that's what you must have.

  • Troubleshooting iPhone SDK build 9M2199 beta 7 ...

    I successfully installed the iPhone SDK last night but seem to have a few problems: a) the DOC SET for the "Apple iPhone OS 2.0" does not seem to work, retried several times.
    b) when trying to follow the "Getting started" tutorial I noticed that the install did not install a "Cocoa Touch template" in the New Project.
    I did try to re-install the same thing again but still no luck.

    I am glad I am not the only one here! I kept on thinking the installation must have gone wrong somewhere.
    The probable new names I think are:
    Cocoa Touch OpenGL Application -> OpenGL ES Application
    Cocoa Touch Tab Bar -> Tab Bar Application
    Cocoa Touch Utility -> Utility Application
    The unclear ones:
    Cocoa Touch Application -> ?
    Cocoa Touch List -> ?
    ? -> Navigation-Based Application
    ? -> View-Based Application
    ? -> Window-Based Application
    Does anyone know when the tutorials are updated to what the SDK actually looks like?
    Message was edited by: BelAus

  • XCode freezes when opening project after installing iPhone SDK 3.2 beta

    I have problem opening up existing XCode projects, and creating new XCode projects.
    If I open an existing XCode project, no window appears and XCode becomes non-responsive.
    If I create a new XCode project, it shows me the window to create new project, but after entering the project name, XCode becomes non-responsive.
    I've played around with the settings and found out that if I go to
    Preferences>Code Sense and untick the Indexing>'Enable for all projects'
    The problem is solved. But with that turn, I no longer have auto-completion.
    I have tried a few methods to solve this but none was working
    1) I thought the problem was due to documentation. In Preferences>Documentation, I see "Mac OS X 10.6 Core Library" and "iPhone OS 3.2 Library" showing "Getting..." all the time. I compared the file sizes of the docsets to my laptop (no problem with XCode) and there's a big difference in file size. So I copied these files from my laptop to the Mac with problem. This does not solve the problem.
    2) Clear cache .
    3) Disable indexing. Quit XCode. Start XCode and enable indexing. Then quit XCode and start project.
    4) Uninstall XCode completely with sudo /Developer/Library/uninstall-devtools --mode=all , and then reinstall iphonesdk_3.0__snow_leopard_final. I verifed that I was able to open projects normally. Then I installed iphonesdk_3.1_with_xcode_3.2_final__snow_leopard_10a432, followed by
    iphonesdk_3.2_beta_with_xcode3.2.2. Problem comes back
    5) I tried to clear the files below but it does not help
    ~/Library/Preferences/com.apple.Xcode.plist
    ~/Library/Caches/com.apple.Xcode
    ~/Library/Caches/xcodebuild
    ~/Library/Application Support/Developer/Shared/Xcode/
    Anyone able to point me to a solution? Thanks

    Hello honcheng & welcome to discussions.
    I'd recommend doing a custom install during the iPhone OS 3.2 beta installation instead, and putting it into a separate location from the release tools...
    I would also suggest participating in the beta forums as well.

  • IPhone SDK 2.0 Beta 7 - Deploy fails on the install phase: verifying app

    I am trying to deploy a test application to a test iPod Touch device. I do not get a list of provsioning profiles in the build tab of the info dialog of the target. So I right click the build item and select "Show Definitions", in the "Any SDK" node of the Code Sign Provisioning Profile item I entered the name of the correct provisioning profile. I do not get any build errors regarding code signing or provisioning profiles. I also added my Developer Identity certificate to the login Keychain. All seems fine and when I click build and go I see files being copied to the device but as soon as it completes I get an error dialog that states the following.
    "Your mobile device has encountered an unexpected error (0xE80000001) during the install phase: Verifying application".
    I tried adding and deleting the provision profile several times, deleting it from the profile settings of the device and rebooting the device all to no avail. Wondering if anyone has any suggestions or has seen this issue before. My provisioning profile currently has a wildcard com.foo.*. I will try and create a new provisioning profile for the app itself and update only if it fixes the problem.
    Thanks.

    Thanks for the reply. I did try D&D of the provisioning profile onto the XCode icon and it installs the profile and creates an entry in ~/Library/Mobile Devices/Provisioning Profiles as expected. I have also tried several combinations of deleting this folder and removing the profile manually from the device etc. I also tried creating a profile with the AppID (no wildcards). None of these approaches worked and I still do not see the provisioning profile in the of available profiles for my Code Signing identity. I think it may have something to do with my identity. I also set the active target Identifier specifically in the properties tab of the target info dialog.

  • [iPhone SDK 2.0 beta 7] Why No Provisioning files available to select?

    I have three provision files loaded in Organizer and all have the check flag indicating they have all been loaded and are active in Xcode. But when I go to the Project Build tab per instructions and click on the provisioning section none of the profiles are available to choose, only the default place holder. I have tried the suggestion of closing and restarting xcode and all were created since the first day provision bug was fixed. All three show up in the portal as active. As far as I can tell, the APID in the provision matches what is in the project although I'm not sure that should matter according to what I have been reading.
    Message was edited by: casasims

    I was having the same issues yesterday. Finally, last night, I removed the keys I used to request my certificate, removed my certificate, applied for a new one, installed it, requested a new provisioning profile (com.domain.*) with the new certificate, loaded that. Then the profile appeared in my signing options in the Project Info screen. So I selected the new profile for Code Signing Provisioning Profile, and the two items within that - Any iPhone OS Device and Device - iPhone OS2.0. For the code Signing Identity's Device - iPhone OS2.0 I put iPhoneDeveloper:Firstname Lastname. I set my bundle identifier to com.domain.appname in the Info.plist (in the resources folder of my project). It then worked <whew>.
    So I essentially started over with the whole development certificate/provisioning stuff, and added the Bundle identifier key to my plist file and put the app identifier there (without apple's seed at the beginning)
    Brian

  • Do synthesized instance variables work in iPhone SDK?

    I tried using Obj-C properties to synthesize not only the accessor methods, but also the instance variable. I ended up with an error saying something like "...must explicitly name an ivar...".
    I was under the impression the iPhone ran the modern (64-bit) Objective-C runtime. I'm using xCode 3.x and iPhone SDK 2.2. Are synthesized instance variables not supported, or do I need to change some xCode/project configuration settings to activate this support (I'd really like to use it)?
    Does the fact that I'm linking to the Sen Test Kit Framework, or running on a relatively old Intel MacBook Pro cause this problem? If the 2.2 SDK does not support synthesized instance variables, does iPhone SDK 3.0 beta support them?
    Note that I would need the synthesized ivar support to work on the iPhone simulator too (obviously) so that I can do testing. Hopefully the iPhone simulator supports the modern Obj-C 2.0 runtime.
    Thank You,
    Eric

    orangekay wrote:
    A. I don't see that anywhere in the Objective-C 2.0 language specification, so I don't believe this has anything to do with the iPhone SDK.
    B. I don't see any point in adding such a thing to the language as it accomplishes nothing that could not be handled with a standard ivar declaration.
    This sounds like a feature you imagined.
    Yeah, right I imagined it. Get a clue, will you?
    http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/oc Properties.html#//apple_ref/doc/uid/TP30001163-CH17-SW3
    In general the behavior of properties is identical on all runtimes (see Runtime Versions and Platforms in Objective-C 2.0 Runtime Programming Guide). There is one key difference: the modern runtime supports instance variable synthesis whereas the legacy runtime does not.
    For @synthesize to work in the legacy runtime, you must either provide an instance variable with the same name and compatible type of the property or specify another existing instance variable in the @synthesize statement. With the modern runtime, if you do not provide an instance variable, the compiler adds one for you. For example, given the following class declaration and implementation:
    @interface MyClass : NSObject {
    float sameName;
    float otherName;
    @property float sameName;
    @property float differentName;
    @property float noDeclaredIvar;
    @end
    @implementation MyClass
    @synthesize sameName;
    @synthesize differentName=otherName;
    @synthesize noDeclaredIvar;
    @end
    the compiler for the legacy runtime would generate an error at @synthesize noDeclaredIvar; whereas the compiler for the modern runtime would add an instance variable to represent noDeclaredIvar.

  • IPhone SDK (Beta 5) - AudioQueue Problem playing MP3

    Dear community,
    i have a problem using the iPhone SDK (Beta 5). I want to playback a simple MP3-file. So i checked a lot of examples, read documentation and found a least the "AudioQueueTest" example. This is an simple example which is able to play MP3, WAV, ... from the command line. I ported the example to a simple application on the iPhone. Now the problem:
    If i playback a WAV file in the iPhone simulator, everything works fine. If i want to playback an MP3 file, it doesn't work and i don't know why. I stepped through the debugger and found out that the application freezes at the command "AudioQueueNewOutput".
    Do you have the same problem? What i am doing wrong? Is it no possible to create a background thread playing back a local MP3 file?
    Thank you!

    Did you get PCM recording on actual iPhone hardware? With Beta5, my PCM recording works fine in the simulator, but on the hardware, all the buffers I receive contain only 4 bytes of audio data!
    Here's my source code - if anyone can spot anything wrong, I'd be enormously grateful!
    #import "AudioAppDelegate.h"
    #import "AudioViewController.h"
    #import "AudioToolbox/AudioQueue.h"
    #define BUFFER_CT 4
    #define BUFFER_BYTES 8192
    AudioQueueRef audioInQueue;
    static void AudioInCallback(void* aqData,AudioQueueRef aq,AudioQueueBufferRef buffer,const AudioTimeStamp* startTime,UInt32 numPackets,const AudioStreamPacketDescription* desc)
    OSStatus result;
    printf("received %d bytes\n",buffer->mAudioDataByteSize);
    result=AudioQueueEnqueueBuffer(audioInQueue,buffer,0,NULL);
    if(result)
    printf("AudioQueueEnqueueBuffer returned %d\n",result);
    static void StartAudio(void)
    OSStatus result;
    AudioStreamBasicDescription format;
    // 11KHz, 16-bit stereo
    memset(&format,0,sizeof(format));
    format.mSampleRate=11025;
    format.mFormatFlags=kLinearPCMFormatFlagIsSignedInteger | kAudioFormatFlagIsPacked;
    format.mFormatID=kAudioFormatLinearPCM;
    format.mBytesPerPacket=BUFFER_BYTES;
    format.mBytesPerFrame=4;
    format.mFramesPerPacket=format.mBytesPerPacket / format.mBytesPerFrame;
    format.mChannelsPerFrame=2;
    format.mBitsPerChannel=16;
    result=AudioQueueNewInput(&format,AudioInCallback,NULL,CFRunLoopGetCurrent(),kC FRunLoopCommonModes,0,&audioInQueue);
    printf("AudioQueueNewInput result was %d\n",result);
    for(int i=0;i<BUFFER_CT;i++)
    AudioQueueBufferRef buffer;
    result=AudioQueueAllocateBuffer(audioInQueue,format.mBytesPerPacket,&buffer);
    printf("AudioQueueAllocateBuffer result was %d\n",result);
    result=AudioQueueEnqueueBuffer(audioInQueue,buffer,0,NULL);
    printf("AudioQueueEnqueueBuffer to in result was %d\n",result);
    Float32 gain=1.0;
    AudioQueueSetParameter(audioInQueue,kAudioQueueParam_Volume,gain);
    result=AudioQueueStart(audioInQueue,NULL);
    printf("AudioQueueStart result was %d\n",result);
    }

  • IPhone SDK Beta 4 - How to send emails with attachments?

    Hello everyone!
    This is my first post Please be so kind to point me in the right direction.
    Using the official iPhone SDK Beta 4, I am trying to show the compose email screen not only with a subject and body fields, but also with an attached PDF file that I generated. I know that many apps available in the Installer.app can do that, but can the SDK do that as well?
    Generating a mailto URL doesn't seem to be the answer since the RFC 2368 doesn't support attachments as far as I understand. All my attempts to hard-code a mailto URL that could trick the Mail application into composing a message with an attachment have failed...
    Could you give me a hint or maybe copy paste some code to help me with attaching files to emails?
    Thank you so much in advance,
    Eugene

    I tried the following :
    NSError *error;
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
    NSString *documentsDirectory = [paths objectAtIndex:0];
    NSString *path = [documentsDirectory stringByAppendingPathComponent:@"export.csv"];
    if ([records writeToFile:path atomically:YES encoding:NSUTF8StringEncoding error:&error] == NO) {
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Export error" message:@"An error occured while writing the file."
    delegate:self cancelButtonTitle:@"OK" otherButtonTitles: nil];
    [alert show];
    [alert release];
    static NSString *email = @"[email protected]";
    NSString *outMailtoPath = [NSString stringWithFormat:@"mailto:%@?subject=Review&body=%@&attachment=%@", email, @"test", path, nil];
    NSURL *url = [NSURL URLWithString: [(NSString *)CFURLCreateStringByAddingPercentEscapes(NULL, (CFStringRef)outMailtoPath,NULL,NULL,kCFStringEncodingUTF8) autorelease]];
    [[UIApplication sharedApplication] openURL:url]

  • How to control the movie player in iPhone SDK 2.0?

    Hello, everybody!
    With the third beta version of iPhone SDK I finally played a movie with the example from the manual. But I need to seek in the movie and control the playing process. With the MPMoviePlayerController class this is impossible, because it has four properties (backgroundColor, contentURL, scalingMode, userCanShowTransportControls) and only three instance methods (initWithContentURL, play, stop). The notifications are two (MPMoviePlayerScalingModeDidChangeNotification, MPMoviePlayerPlaybackDidFinishNotification). How can I know what is the current position of the head and how can I change it? I can't find other classes, which can play a movie. Can somebody help me?
    Stefan

    HeoU wrote:
    Hi Tsvyatkov,
    Do you HAVE [these problems|http://discussions.apple.com/thread.jspa?threadID=1486343&tstart=0] while playing video playback?
    - The keyboard doesn't appear after playing the video (It works great before playing the video)
    - When you play the video, iphone simulator turns in paysage mode. Then when you stop it, it doesn't turn back (SDK beta 3). It worked fine with the SDK beta 1, 2.
    - If you chose a video from a list (UITableView) and you stop the video, then come back to the list, the item is still selected with the blue color.
    thanks
    HeoU
    Yes! I have the same problems! And with the older versions of iPhone SDK I didn't.

  • IPhone SDK on PPC

    Hi,
    I am fully aware that the iPhone SDK is NOT supported on PowerPC based macs.
    I have read several tutorials on how to make it work (including http://3by9.com/85/), but I have found something quite annoying.
    All of the tutorials refer to a package named "Aspen Simulator", but it is NOT in my "Packages" folder of the SDK I downloaded. Also, tutorials say the install is about 5 gig, mine was four gig.
    My best guess is that the tutorials were made for the beta versions of the iPhone SDK.
    How can I develop iPhone Apps on a PPC based mac? I do NOT want to put them on the App Store, I am just eager to experiment.
    Thank you.

    Thanks! I managed to get the simulator running!
    Just need to clarify one last thing:
    To test on my iTouch, I need to pay the $99 fee right?

  • IPhone SDK with iPod Touch 2G problem

    I installed the SDK last night but when I went to plug in my iPod Touch 2G, I got the error message: 'Unable to locate a suitable developer disk image. Please re-install the SDK'
    I have reinstalled the SDK many times but still get the same error message. Any help appreciated.
    Thanks

    {quote}He's talking about the iPod Touch, not a regular iPod{quote}
    Yep, I know. Do a Google search for "Unable to locate a suitable developer disk image". Found this on the comments of [this blog post|http://www.tbradford.org/2008/03/iphone-sdk-beta-2-possible-ppc-fix.html]:
    {quote}
    If anyone else runs into the "Unable to locate a suitable developer disk image." problem, there's a package called "DeveloperDiskImage" in the iPhone SDK that needs to be installed.
    As of 2.1, these are the extra packages that you need to install manually:
    iPhoneSDKHeadersAndLibs
    iPhoneSimulatorPlatform
    iPhoneHostSideTools
    iPhoneDocumentation
    DeveloperDiskImage
    {quote}
    Another [blog post|http://khakionion.blogspot.com/2008/09/iphone-sdk-21-doesnt-include-ipod-t ouch.html#links] says:
    {quote}
    The problem is that the huuuuuge iPhone SDK 2.1 installer doesn't come with the iPod touch 2.1 firmware image. Suck. Fear not, though: All you have to do is force iTunes to do a firmware restore, which will download the appropriate image. On next launch, Xcode will find it and everything will work great.
    {quote}

  • IPhone SDK: access outside the sandbox?

    In reading the docs for the iPhone SDK the sandbox aspect makes it sound like it will be impossible to create utilities that manipulate the system, other apps files, etc. Has anyone gotten a better read on this?
    For example if you wanted to build something that would crawl the filesystem (e.g. a backup tool), how would you do it?

    I don't know about the file system... but you can access pictures from the photos and addresses from the address book (music?) so some sort of rudimentary backup could happen... but then, if you can only backup to the same hard drive you are using it's not much use.

  • IPhone SDK, any way to send/receive a text SMS?

    I've been looking through the iPhone SDK for a way to send a SMS from my application. Also I'd like to inspect the SMS inbox for specfic messages that have been received. Has anyone been able to send/receive a SMS from their application?
    Thanks,
    Tony

    I think this is a limitation of the Beta SDK.
    I've read that there are many limitations in place for 3rd party-developed apps that are designed to maintain integrity of the OS but I can't see Apple being so Dickensian.
    Hopefully, much more will be unleashed with the full release of the SDK.
    Stu

Maybe you are looking for

  • HT202157 Apple TV

    For what purpose apple tv is used for?

  • Is there a report available:

    Hi Is there a report available: selection on cost center group by cost element group that displays posted quantities as well or statistical key figures? For the quantity the unit of measure should be selectable or for a statistical key figure I shoul

  • A button in a region position

    "a button in a region position" - hello, is it possible to place this kind of button among region items? in Button Position options i couldn't find possition i need.. thx, mariam

  • Query related to alv grid and sap script

    Hi All, I have a requirement where i should read the values which are selected on the alv grid list output and those values i need to display on the script(layout). Help me out guru's its an urgency... thanks in advance . regards ravi ganji

  • How do I reduce the size of a duplicate photo in iPhoto?

    I have been trying to reduce the size of a couple of photos so I can put them onto a website to sell some articles.  I have done this in the past, but can't remember, and can't seem to find instructions in the Help section.