Want to use pushViewController and segues from UINavigationController in AIR app on iOS
Ok, this might be a long shot, but here goes.
My iOS AIR app includes a bunch of native screens defined in a storyboard. I have them included by putting them into a native (static) framework, including that framework in an ANE, and adding code to instantiate and add the various ViewControllers to the screen.
I can add a ViewController as a child and get its view to show on the screen with the following obj-c code in my ANE:
[[[[UIApplication sharedApplication] keyWindow] rootViewController] addChildViewController:controller];
[[[[UIApplication sharedApplication] keyWindow] rootViewController].view addSubview:controller.view];
[controller didMoveToParentViewController:[[[UIApplication sharedApplication] keyWindow] rootViewController]];
However, some of the views have child views that use segues and the push stack from UINavigationController. When these screens try to load, I get the following error:
Apr 21 13:50:43 raspberry LKW_Smash[7703] <Error>: *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Could not find a navigation controller for segue 'MemberOptionsSegue'. Push segues can only be used when the source controller is managed by an instance of UINavigationController.'
So I attempted to get access to the app's UIViewController, and push the new ViewController onto the stack with the following code:
[root.navigationController pushViewController:controller animated:YES];
But root.navigationController is nil! It looks like the app doesn't have one!
So after all that, my question is this: How do I create an AIR app that includes a UINavigationController and is not simply just a single-view app?
Sync the contacts on your Mac with Google Contacts as well... There is no need to involve iCloud.
Perhaps you should take a look at Google's help pages.
Similar Messages
-
Happy Holidays I am a new Apple user with the i-pad 4 being my first product. I wanted to transfer pics and documents from my windows computers. I logged into the network but do not know how to access it using the i-pad. Is this possible? What is the best way to save photos to the icloud. I have pics in windows "pictures" in my yahoo email and in facebook. I am also a frequent user of MS word and excel. What apple product would you recommend that I use so taht I can access and modify my documents? Thanks! Rosebud
See this migrate iTunes library post.
tt2 -
I use a Flexislider for my website [url removed] I want to use flash and make my website attractive. Any suggestions?
Will people be able to login to the FTP server from my website and do everything through their browser?
Users could use web based ftp client or a 3rd party ftp client.
Have look at the sytem the following school uses.
http://www.glenbard.net/Glenbard_DistrictHQ/Media/MOVs/Web-BasedFTPClient.html
Although I have not setup this type of thing up myself googling around shows a few tutorials using PHP or Java based ftp clients.
have a look at this article.. -
I have a new computer , want to install CS5 and deactivate from old. Problem is my CS5 is an upgrade and needs a older version of Elements which I no longer have. Any suggestions?
you don't need the previous version that was upgraded. you just need the serial number of the previous version.
but, if you want the previous version:
Downloads available:
Suites and Programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
Acrobat: XI, X | 9,8 | 9 standard
Premiere Elements: 12 | 11, 10 | 9, 8, 7
Photoshop Elements: 12 | 11, 10 | 9,8,7
Lightroom: 5.5 (win), 5.5 (mac) | 5 | 4 | 3
Captivate: 8 | 7 | 6 | 5
Contribute: CS5 | CS4, CS3
Download and installation help for Adobe links
Download and installation help for Prodesigntools links are listed on most linked pages. They are critical; especially steps 1, 2 and 3. If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'. -
So I am trying to copy my hard drive "Macintosh HD" to an external hard drive, i want to use Terminal and have tried many ways. For example cp -r /Volumes/"Macintosh HD" /Volumes/"NO NAME". When i do it says No such file or directory. Ideas?
The reason that threadjacking is frowned on (as mentioned in the terms use which you can read by clicking the link to the right on this page) is for the most part a practical one:
By starting your own thread your problem can get individual attention, focussed on your particular set of circumstances.
By joining somebody else's thread it becomes tricky to answer more than one question at the same time, and can lead to confusion for both parties.
So if you don't mind the minor inconvenience, please start your own thread (in the correct forum) so we can get to grips with your particular problem! -
Transfered files from Mac Pro to iMac OS10.7. Copied bookmarks using "backup and restore" from "Organize bookmarks". File copied correctly as bookmarks 10-10-11.jsom, but would not restore on Firefox on new iMac.
Firefox 2 versions use the file bookmarks.html to store the bookmarks.
See http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
See also http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
With Mac OS X 10.4 you can use Firefox 3.5 or 3.6
* http://www.mozilla.com/firefox/all.html
* http://www.mozilla.com/firefox/all-older.html
*http://www.mozilla.com/en-US/firefox/system-requirements.html
*http://www.mozilla.com/firefox/system-requirements-v3.html -
want program using extended_program_check and extended_program_check_show
Type the program name in SE38 and go to the menu program->check->extenced Program Check to find the EPC errors in the program
reward points if helpful
Message was edited by:
Pavan Kumar TSS -
Hi I want to put photos and videos from my iPhone to my iPad how do I do it please
I Want to put photos and videos from my iPhone to my I pad how do I do it please ?
http://www.wikihow.com/Transfer-Photos-from-iPhone-to-iPad
-
I want to use ps and illustrator together, but I just bought the photoshop membership, could I upgrade my membership?
You may upgrade to the entire plan, or just add an individual program subscription
Upgrade single to all Cloud http://forums.adobe.com/thread/1235382
Cloud Plans https://creative.adobe.com/plans
-and subscription terms http://www.adobe.com/misc/subscription_terms.html
-what is in the entire Cloud http://www.adobe.com/creativecloud/catalog/desktop.html
-http://www.adobe.com/products/catalog/mobile._sl_id-contentfilter_sl_catalog_sl_mobiledevi ces.html -
Want to remove PFCG and SU01 from profile S_A.SYSTEM
Hi,
I want to remove PFCG and SU01 from profile S_A.SYSTEM.
Could you please suggest me ways to achieve that.
Thanks,
Barada1) Create a role by inserting the profile S_A.SYSTEM and then design your S_TCODE such that you enter tcodes in ranges and exclude the tcodes PFCG and SU01 from the range.
or
2) Try deactivating the objects S_USER* this might definitely remove authroization for SU01 and not allow to execute the tcode. I am not so sure if it will restrict PFCG execution. -
I need to move the music and movies from my MacBook Air (original) to an external hard drive, after I do this, do I create a new music folder and media folder on my computer to load music/movies in via the dedicatd external drive and then would I be able to move the newly imported to the external drive which would be my main site of storage?
No, do it all in one go and henceforth only use the library located on the external drive.
iTunes: How to move [or copy] your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
Quick answer if you let iTunes manage your music: Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive. Start iTunes with the option (shift on Windows) key held down and guide it to the new location of the library. -
Can I use a power cord from a Macbook air with a Macbook?
Can I use a power cord from a Macbook air with a Macbook?
No, the MacBook Air power adapter is a 45 watt. A MacBook needs at least a 60 watt power adapter although you can use a MacBook Pro 85 watt adapter. You can use a higher wattage adapter without any problems.
http://support.apple.com/kb/HT2346 -
im using ipad2 and recently when i go to App store - top chart it gives a massage "Cannot Connect ti App Store" can anyone help please
FYI - I just did a full wipe out and set up as new device, and the problem got solved.... But obviously it was a pain in the butt to download all the purchased apps back... This seems to be the only way to go about it... :(
-
hi im using 4s and when i try to download apps its asking my credit card details. can any one please help me
even when you are dowloading free app Apple needs to check that you have valid billing details but you will not be billed for downloading of free apps. Go to settings/itunes & app store tap on ID there log in and check acocunt details there
-
I transferred settings and files from old MacBook air to new one. New one now gives popup about failing to connect to server (old iMac). the new Mac air and old iMac have never met and are 2000 miles apart. How do I stop the popups?
Change your settings in Sharing preferences, for one, and remove the server out of the Finder's sidebar. Obviously, this is the result of transfering all your other computer's preferences to your new computer.
Maybe you are looking for
-
Keynote 6.0 file can't be opened on keynote 6.2
How can I open keynote older files in my new keynote 6.2? Thank you
-
Itunes freezes playing back movie
This is the first time I have used itunes I purchased the kids movie Ratatouille this morning. It downloaded just fine. When I tried to play it this evening, after 22 seonds, itunes just completely freezes up. I also tried to play it using quicktime
-
No Internet with Multiple Access Restrictions
Hi, I have a WRT54Gv5 and have setup the following Access Restrictions for an Ipod Touch. Having a single AR works fine but adding another kills internet for that user. I am using the MAC filter for that user. M-F: 6am-7:30am, allow Internet but bl
-
SD - Document Folw - Missing HU on double click
Hello , In the document flow when i double click on the handling unit, at the bottom of the screen i am not getting the details of the handling unit. Pelase Let me know if you any solution for this. Thank you, Patil
-
How to import lens corrections into Lightroom?
I have downloaded some lens corrections from the Adobe Lens Profile Downloader for lenses that didn't exist in my LR5. I do not know how to import these into LR5.