Best way to implement UIPopoverView on iPhone? - ios

It's available on iPad, but unfortunately not on iPhone. I want to use a service such as this to display some options to the user without summoning a new viewcontroller, and I'm curious what the best library/way to do this is.
I found this one: https://github.com/runway20/PopoverView
Which seems fantastic, but it is a little outdated, and hasn't been updated for iOS 6 (gives a lot of warnings in regards to deprecated methods being used).

Related

What does it mean an Apple implementation is deprecated while still being able to use it. Reasons not to use it?

I'm using GLKit's GLKView in one of my projects. As per Apple's documentation it is deprecated. I can still use it in my app and it is fully functional (for what I want it to do) with latest iOS versions. I'm using it because of an older SDK that I'm using has good functionality for it. What are reasons not to use it anymore?
If something is deprecated, that means they may remove it in future versions. If you continue to use it, your code may break next time you update the library.
They left it in despite being deprecated to give you an opportunity to switch to a new solution.
A function being deprecated means that it is still supported for now, but they are planning on deleting it. Often times this is because there is other better ways to achieve the same. A reason to not use it anymore is because it will very probably be deleted eventually.
You can use it now,but maybe can't in the future.Such as UIWebView just like Apple said:
Apple will stop accepting submissions of apps that use UIWebView APIs.
It's the same.

How to change iPhone's Screen Display Color with Private APIs?

I have seen so many posts regarding the same but all are outdated or not working anymore.
I am using iOS-Runtime-Headers and everything is just nicely setup. But it said that I can't find out the method in which I can set iPhone's screen display color. This should be possible with private APIs as long as, we've NightMode from iOS 9.3.1.
And yes, I am aware that if I will be using any private APIs, Apple will surely reject it.
Have you check out the GammaThingy project out?
It works a bit similar to f.lux and NightShift and maybe the code of the GammaController there can help you achieve what you want
You may also want to check out GoodNight, which is based off of GammaThingy, but a little bit more "polished". The reason why you cannot find the methods in the dumped headers is because the entire app uses C functions, NOT Objective-C methods. Specifically, it uses the private IOMobileFramebuffer framework (IOMobileFramebufferSetGammaTable is the main function used). I have put together a rather extensive disassembly of it here if you are interested.

converting existing ios app to universal application

I need help on following topic.
I have an existing iPhone app (which I believe was created with "specific device" in mind). Now I want to convert it to "universal" app? Is it possible?
Finally, at some places there were also suggestions that one could create separate iPhone and iPad apps (in case of complex applications). I am not sure if this is what I want, since: I want my iPad and iPhone apps to share some code and at the same time to achieve "universal" functionality. What is the best way to do this? ps. so to sum up I would prefer to have it all in single project if this is possible.
Thanks in advance.
Gregory, as much I think you're talking about universal app. I suggest you, before go ahead you need to google, there are so many materials you'll find.
In short, for your case, you need to prepare two XIBs each for iPhone and iPad respectively and you've to exchange them that depends on your device. So, your code part will be same, but what will alter is the representation part ie IBs.
In any concern, just get back to me. :)

Phonegap iOS app: change keyboard appearance to UIKeyboardAppearanceAlert (again)

A couple of months ago, I posted a question asking if and how phonegap users can alter the keyboard appearance to the dark alert ui keyboard (UIKeyboardAppearanceAlert) without targeting individual textfields. I did some extnsive reaearch myself and offered a bounty but yet the question remained unsolved.
Alter keyboard appearance in native, phonegap/Cordova built iOS App
As of today, I'm still struggling to get this resolved and simply over with. I do realize much probably hasen't happened since last time I bothered you with this question, however, two things have in fact changed which somewhat justifies this seemingly double post:
Phonegap has released version 2.1 which does some new stuff, perhaps this is possible now?
As my client expects me to solve this in any way possible, this time I would also like to ask you for an alternative approach. If it still can't be done, would it be possible to custom make a "keyboard" of my own? I know this of course is technically doable, but is it in any way a recommended approach that would be considered in at least some way smart and justified? As I said, my client pushes hard for this and is not in favor of rebuilding the app completely natively.
Conclusively, as of today is there any way to do this with phonegap / Cordova? If not, would you recommend me to custom make a keyboard using HTML CSS and JavaScript, bearing in mind this is a major comsern for my client? If so, are there any good plugins that I can use as a start? Please check out my old post (linked above) to see what has already been tested.
Thanks in advance,
Jonathan
I know this is quite old but I came accross it looking for the same thing. Anyway, I have found a possible solution which would be to create a plugin for Cordova http://cordova.apache.org/docs/en/2.6.0/guide_plugin-development_index.md.html#Plugin%20Development%20Guide
It does require some native coding but would atleast avoid starting an app from scratch which has already been built in Cordova.

iOS (iPad) application on Flex/Flash Builder 4.5 - SplitView component?

(Disclaimer: I'm a beginner in mobile application development and I'm quite weak with programming but I'm willing to learn new things and take on new challenges. I apologise in advance if my question turns you off, or if it seems as though I haven't done any research. I did all the research I could but it didn't help me much.)
I'm new to developing iOS applications and my school gave me approximately 5 months to develop an iPad application. I have no knowledge or practice on Objective C so since Flash Builder 4.5 allows the development of mobile applications (and I have experiences with Flash Builder), I decided to develop my application on Flash Builder instead.
Everything is going fine until I was told to include a SplitView in my application. I implemented a List on the left side of the application. Clicking on any of the list items will navigate the user to a to another view but i also included and retained the list on the left side of the new view in order to simulate a "SplitView".
Initially it felt as though it will do the job of a SplitView like how it does when I attempted it on XCODE but it doesn't look or feel natural.
I found this video which shows that it is possible to create a SplitView on FB but I've cracked my brains and I really can't figure out how it is done. Is there anyone who can provide me with a rough guide on how to implement this? Thank you very much in advance.
Edit:
At the moment I implemented
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
<s:ViewNavigator id="MainView" left="292" width="732" height="748" firstView="views.MainView"/>
</s:Application>
this way, i can manage to navigate through the views without effecting the Root View Controller. this might not be the best way but it'll suffice at the moment. Are there are any better way to do this?
Take a look at the eskimo library
It has a lot of nice mobile features like "native" look and feel for both android and iOS.
Furthermore, it features some mobile components.
I believe the one you are looking for is called SplitViewApplication.
You will have to download the zip file though to unveil it since it is currently not on the feature list on their website.
EDIT
Apparently, Flex SDK 4.6 also supports this feature.
It has been released 2 days ago. You might want to check that out as well.
Cheers
Looks like HDividedBox is a right component for you.

Resources