I'm working in this iOS project with Emojis, but since iOS 8 when you switch between segues the keyboard restarts to a QWERTY position. I need to maintain the emoji keyboard because switching every time would be exhausting for my users. Any ideas? Thanks.! I've tried customs segues as well, doesn't work.
Related
I've recently updated my project for iOS 10 and now the buttons on the bottom of the screen don't work in the ipad simulator. Other buttons in the app work while in the ipad simulator and all of the buttons work on all of the other simulators. Tried searching around for this problem but didn't find anything so I'm pretty stumped.
Edit:
Buttons that aren't working are "Bet High", "+", "-", "Bet Low". You can click them and tell they are clicked by the animation but the action linked to the buttons aren't getting called. Clicking the ad works too
screenshot
Edit #2:
Now I feel stupid. After poking around with NSLog I found that the iPad Pro (9.7 inch) simulator thought it was a 3.5 inch display so it was using my storyboard for 3.5 inch displays which didn't have those buttons hooked up to their corresponding actions (still weird though as each storyboard was duplicated from my original storyboard for the 4.7 inch display which had everything hooked up when duplicated)
*face palm
Check the UI like storyboard, buttons and so on. You can try rebuild the button again. If the problem still happen again, copy the sample code from internet like Apple Developer and check your code. You can also the your simulator and run it again.
Currently,I am developing one app in which i set simple alert on one button click.
All operation performed very well on all device but when i run my app on iPhone 4 alert's height automatically increase and my subview's which add in alert its layout is not looking good.
What is issue is generating i cant find out please suggest me some solution.
I have a problem. I am working on app and I am using Storyboard(AutoLayout off). For iPhone 5 and later it is good. But for iPhone 4S I have to change position programatically. But after change I cant click on UIButton, it doesnt change touch area. Where can be the problem? Or how you solve problems with screen size?
Thank you
I am working on an app where i have 12 buttons and labels underneath on one of the views. They are placed on the storyboard directly. I want to make sure they will get properly repositioned in iPhone 5. The solution that i tried is just to deselect all the lines in the autosizing for all the buttons. Now when i try it on iphone 5 the buttons get resized. The problem if i stretch the storyboard and move the buttons they get messed up when running on the smaller screen. So i can only position them on the smaller screen and then it seems to work. The app does not rotate. I would like to know if this is a good solution or there is a better solution for this case. I would like for the app to support iOS 5+
Thank you!
If you want layouts to work with varying screen sizes, you should become familiar with the new constraint-based layout scheme in iOS 6. A WWDC video on the subject can be viewed at http://www.youtube.com/watch?v=Dkr9eKxlMAk&feature=player_detailpage.
Essentially, you're going to use the old struts and springs system for pre-iOS 5 and conditionally use the new scheme for iOS 6. (iPhone 5 won't run any iOS version prior to 6.)
I would like to show an alert using a UIAlertView with a lot of text.
When I show this alert in the iOS simulator running iOS 4.2 it covers the navigation bar and the tab bar, however when I run the app on my iPhone running iOS 3.1.3 the alert message doesn't cover the navigation and tab bar. Furthermore, my "Okay" button cuts off the last part of the text of the UIAlertView.
How can I prevent the last line of text in the UIAlertView from being cut off on my iPhone running iOS 3.1.3 as it is on the simulator running iOS 4.2?
Thanks
Instead of depending on UIAlertView (which isn't meant for displaying an e-book's worth of long form text), you should create your own UIAlertView-like modal dialog with a scrollable text view so you can display everything you want the user to see.