How to determine ARMv8 features at runtime on iOS?

I am trying to determine when optional ARMv8 cpu features are available on iOS at runtime. On OS X desktops, like i686, x86_64, PPC and PPC64 we can use sysctl. See, for example, PR 3108, SIGILL-free processor capabilities detection on MacOS X. The ...
more »

2017-08-11 16:08 (0) Answers

iOS Keyboard Partial Trigger on input focus

When the using the site in Safari on iPhone 5/SE, focusing on either of the two inputs shown below doesn't fully trigger the keyboard. The field toggle and "Done" buttons appear but no keyboard. We're using a third party chat plugin that we can't sw...
more »

2017-08-11 13:08 (1) Answers

Calling function when user taps anywhere on screen

In my app I have a small menu I made which is basically a UIView with two button on it. The menu opens when the user taps a button and closes also when the user taps the same button. I'd like the menu to close when the user taps anywhere outside of t...
more »

2017-08-11 09:08 (5) Answers

Shake gesture not working iOS

I have used collectionView and also implemented pull to sync (pull_Down_To_Get_Data_From_Server) in my ViewController(named : "DashboardViewController"). I tried the shake gesture code(given below) in my DashboardViewController and its not working bu...
more »

2017-08-11 08:08 (1) Answers

take screen shot of the entire view (swift3)

I just want to use a button to take a photo of the entire view controller. I think what I am trying to do is take a screen shot of the uiview and and save it in photo gallery. I want the button in the picture. import UIKit class ViewController...
more »

2017-08-10 22:08 (1) Answers

React native map integration

I am trying to integrate map in react native. I am following the below tutorial. I gone through all the installation instruction. I am using react-native version : 0.44.0 and react-native-map version : 0...
more »

2017-08-10 21:08 (2) Answers

Open Button Link In Webview

i am very new to Xcode and don't know much about it , sorry for my silly question. i want to create app with 20 buttons on home page , and i want to attach them all in one ViewController Like if button1 clicked do this elseif button2 clicked do d...
more »

2017-08-10 17:08 (2) Answers

Create a view controller outside of storyboard

I need a small tutorial video to our iOS project which can be accessed from multiple view controllers(screens). I don't want to break dozens of segues to add this tutorial, as it would cause a nightmare. Would the best way to do this, is to create a ...
more »

2017-08-10 13:08 (4) Answers

Swift UIWebView doesn't always work

I am currently using Xcode 8.3.3 and if I'm using a UIWebView I am getting this error you can see down below and then in some projects or some times the WebView doesn't work and in others it does. I already testet it with an empty project and yes it...
more »

2017-08-10 12:08 (2) Answers

How to refer al subview hierarchy in swift

Hello I'm trying to apply some styles to IBOutlets from Swift 3 code. But when I'm trying to refer the IBOutlet from my code, only works if I add the immediatelly superior UIView as IBOutlet. For example (adding font style to all label elements insi...
more »

2017-08-10 12:08 (1) Answers

Using MPMediaPickerController with Flutter

I'm playing with Dart and Flutter and would like to display a media picker inside my Flutter application. The Flutter part of my application simply has a button which calls platform specific code. I don't believe this part causes the problem so I'm ...
more »

2017-08-09 23:08 (1) Answers

How to save and load a list again?

I'm trying to code a simple app with a table view to show some to do things. (In this case, it is called "Grails" / things I want to buy). I did everything about the table view, and the input and so on, and the only thing I need to do, is to save an...
more »

2017-08-09 22:08 (1) Answers

Make player double jump Sprite Kit Swift

I have implemented a single jump for my player. But I want the player to be able to double jump if the user taps twice. How do I make this function below check to see if the jump is still in duration, so that they can tap and jump again if they want...
more »

2017-08-09 20:08 (1) Answers

UIDataDetectorTypeAddress for European addresses

I need to get iOS to automatically recognize addresses outside the phone's locale in a UITextView (or similar text view). It needs to automatically detect the address because the UITextView could hold a variety of different things – sometimes add...
more »

2017-08-09 19:08 (0) Answers

How do I save an audio file to iCloud using Swift?

I have created an app using Swift 3 and Xcode 8.3.3 that records audio files and saves them to the app's Document directory. I would now like to save these files to iCloud to have them backed up. I have been able to save a simple record to iCloud u...
more »

2017-08-09 19:08 (1) Answers

Xcode: No Such Module 'Alamofire'

I keep getting the error No Such Module 'Alamofire' In my Xcode project swift file when using import Alamofire; the file is in a separate module within the project. I have tried the following; Build and Run Alamofire Target Comment out im...
more »

2017-08-09 18:08 (2) Answers