So after upgrading to a universal app, one of my UIAlertViews shifted up, but only for the iOS4.0.
Before:
Valid XHTML http://img842.imageshack.us/img842/4959/screenshot20100719at156.png.
After (only on iOS4.0):
Valid XHTML http://img836.imageshack.us/img836/4959/screenshot20100719at156.png.
I looked into
alert.transform = CGAffineTransformTranslate( alert.transform, 0.0, -100.0 );
to shift it back down, but that does absolutely nothing. Does anyone else have this problem?
Thanks.
I hope by this time you would have found the solution for the problem, nevertheless I found one solution but that was regarding iPhone although would be relevant for your problem as well. The link is this.
Hope t still helps!!
Related
I have an app, and during development I used an ogg image to indentify the app.
Then, when the app was finished I gave it its own ogg image. I noticed that the app icon remained the old one.
Ok, cached, so used the FB linter. Linter showed correct image. Problems over I guessed.
Did a test post on my own time line, new image shows up. Hurray.
But, surprise surprise, if someone else posts the app, the old image appears. WFT?!
Ok, changed all images, of all my apps, put the all through the linter, the apps.facebook.com url, and the url of the app itself.
All show the correct image on the linter....
Now it must be ok, I thought.
But, suprise surprise a few days later someone posts a link to the app, et voila, the old image appears again..... $%&^#^$####
What more can I do?
HELP! , thanks
My guess is that this is a caching problem. Try with a new anonymous chrome window (or empty your cache in another way) to see if that helps.
Ooops, programmers error....
The App icon changed all alright, but I forgot to adjust the image when a wallpost was made from the App....
Shame, red head., sorry.. :(
Forget it !
I want to create an iPhone app that uses a navigation scene similar to the one pictured in the link
Please note I do not want this to only work for iPad, I want it to work for iPhone exactly as pictured, when you click on a tableview item it hides the tableview and makes that view full screen. I want ideas on how to do this because I cannot figure it out myself.
Thanks
Facebook guys have done brilliant job in the new version of the app. The similar open source code can be found from here - JTRevealSidebarDemo. Please note that as of June 2014, this project has been discontinued, so you'll probably have better luck with a project from the list below.
It reveals technique behind doing split view for iPhone.
Some other open source code:
JWSlideMenu
DDMenuController
PKRevealController
ViewDeck
ECSlidingViewController
MWFSlideNavigationViewController
MFSideMenu
SASlideMenu
HHTabListController
MTSlideViewController
MTStackViewController
MMDrawerController
DMSideMenuController
JVFloatingDrawer
How about projects with storyboard compatibility?
I found 1 more slide menu which is compatible with storyboards:
SASlideMenu
Another storyboard-compatible menu is
ECSlidingViewController
and
ViewDeck
from Sagar's answer. They both have storyboard examples (for the last one link is ViewDeckStoryboardExample)
For anyone else looking for an Android version, take a look at:
android fb like slideout navigation
emerging ui pattern side navigation
I realize you asked about facebook, but now that ios7 is out, and this is the defacto thread i thought id post here.
For an effect similar to the kindle app on ios7 you can use:
https://github.com/romaonthego/REFrostedViewController
If anyone else is looking for a way to implement this in MonoTouch now known as Xamarin.ios, take a look at this article I just found. monotouch slide out navigation
EDIT
I just found that they have a free component for this!
flyoutnavigation
I noticed no one listed this wonderful class... SWRevealController.
I use it with my project apps all the time. It's Easy to use and heavily documented... There are also a few examples John gives to the user to understand how it works or if you'd like to derive your project from... Hope this helps
SHSidebarControllerwith filder effect.
This might be helpful to you.. try this :)
This looks to be the best match for me.
PKRevealController
It has nice scroll effect with finger and moves back on partial drag.
https://github.com/pkluz/PKRevealController
MMDrawerController is very good option.
You can configure many things. try it once
https://github.com/mutualmobile/MMDrawerController
I've been working on a floating-style navigation drawer that I hope people will like. It's on GitHub, take a look.
I have tried to disable phone number detection in safari for my web app but it still shows 7 character strings comprised of numbers as phone numbers. I used the apple provided meta tag but no joy.
<meta name="format-detection" content="telephone=no">
Anyone else run into this problem and work around it?
Thanks.
Update: It looks like it does not detect phone numbers in safari but rather when I save the page as an icon and run it from the home screen.
Are you loading this in a UIWebView? If so, you need to set the property for dataDetectorTypes. e.g:
webView.dataDetectorTypes = UIDataDetectorTypeNone
Valid detector types are here.
Search for UIWebView on apple's site for a description of how to set the property there.
-Kevin
We had a similar problem on our JQM/Cordova app. We had a calculator built into the app and whenever the amount was more than seven digits the data would be in blue with an underline underneath and when you click on the data a pop up appeared and gave you the option to call. We simply added
the meta tag as described in the opening question & it worked.
Just adding some thought here in case anybody else has a similar issue with Safari detecting 7 stringed data as telephone numbers.
OK. After quite a bit of futzing I think I found a strange work around. The problem with using dataDetectorTypes is that it will disable phone number detection for the whole uiwebveiw.
After trying datadetectors="off" and x-apple-data-detectors="false" attribute on span and a tags I finally stumbled on something that seems to prevent phone number detection.
If I wrap my text in an a tag with an href="#" apple seems to leave it alone.
Try this Code,
webView.dataDetectorTypes = UIDataDetectorTypeNone;
This may help you.
Try and add this to YourProjectAppDelegate.m
// ...
- (void)webViewDidStartLoad:(UIWebView *)theWebView
{
theWebView.dataDetectorTypes = UIDataDetectorTypeAll ^ UIDataDetectorTypePhoneNumber;
return [ super webViewDidStartLoad:theWebView ];
}
// ...
Did the trick for me..
Has anyone seen a solution for adding text fields to a UIAlertView (without private APIs)? On 3.x I've been using enormego's EGOTextFieldAlertView, but this doesn't work properly when compiled for iOS 4. Any suggestions?
http://github.com/enormego/EGOTextFieldAlertView/
I found a viable solution:
Use the ModalAlert from Erica Sadun's cookbook.
http://github.com/erica/iphone-3.0-cookbook-/tree/master/C10-Alerts/03-Soliciting%20Text/
The solution described here works great for me.
Jose Castillo found a fix for EGOTextFieldAlertView in iOS 4 and can be found here:
https://github.com/josecastillo/EGOTextFieldAlertView
It has a bit of a problem with auto-positioning the view, but there are several easy fixes, depending on your project needs.
I highly recommend this code as a start point.
i am quite new to iphone development but i have been given a old application and told to change the launch image(default.png)..i tried to google it but couldn't get much help from it??
how can i change the default image in my old application?? any information regarding it will be really helpful??
The term is splash screen and I'm sure that's why you weren't seeing any good search results. Here is a good link:
http://adeem.me/blog/2009/06/22/creating-splash-screen-tutorial-for-iphone/
You can't change it programmatically. You can make a new one and just replace Default.png file with it.