iOS

iOS is a mobile operating system developed by Apple; it is a derivative of the Mac OS X desktop operating system, with which it shares many (but not all) common frameworks and other components. These include Cocoa Touch, the Mach/Darwin/XNU kernel and code from the Berkeley Software Distribution (BSD). Each iOS application runs in its own secure sandbox to prevent altering other applications, the operating system, or any other data.

Share tech news, updates, or what's on your mind.

Sign up to Post

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
3
 
LVL 13

Expert Comment

by:Justin Pierce
Comment Utility
Good stuff Kyle! Keep up the good work.
2
 
LVL 16

Author Comment

by:Kyle Santos
Comment Utility
Thanks!  That means a lot to me coming from you. :)
1
On Demand Webinar: Networking for the Cloud Era
LVL 9
On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Depth effect indicator
How to take pictures with depth using iOS 10
2
There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
5
 
LVL 15

Expert Comment

by:William Fulks
Comment Utility
Great article. At my work, I inherited an iPhone from a former employee who had set up their personal account on there and Apple refused to do anything to help us even through we owned the phone. I had to go through several people to track down the former employee via Facebook and talk her into resetting the password so I could unlock the phone.
0
 
LVL 16

Author Comment

by:Kyle Santos
Comment Utility
Thanks, William.  That sounds like an awful route to have to take to recover a company owned phone, but at least it worked!  Hopefully more folks are able to learn about this issue and prevent it from happening in the future.
0
The release of the iPhone 6 and the iPhone 6 Plus was extremely successful for Apple. However when iOS 8.1 was introduced, many iPhone users complained of quick battery drainage. Without even knowing, you may be unnecessarily using up your battery power.

Follow these tips and tricks to increase the longevity of the battery on your iPhone.


Battery Usage

You can check which apps are using more of your battery power by visiting Settings > General > Usage > Battery Usage1.PNG 
Use this list to see which apps you should use less often or to help you remember which apps to close right after using.
 

Background App Refresh

Some apps on your phone can actually be running while it is open but not in use. These apps are constantly refreshing and using up your battery to push data and check for new content. Visit Settings > General > Background App Refresh2.PNGUse the Background App Refresh toggle to turn this function off completely or individually select specific apps to turn on or off. 
 

Location Services

Your battery will be constantly used to update your location if your location services are turned on for all of your apps. Visit Settings > Privacy > Location Services to see which apps are checking for your location. 3.PNGYou can click on each app and choose whether you want your location to be updated While Using the App or Never4.PNG


Fetching New Data

19
 
LVL 66

Expert Comment

by:Jim Horn
Comment Utility
Decent content, but the images are waaaayyyyyyy too big in comparison to the text.
0
 
LVL 34

Expert Comment

by:Mike Eghtebas
Comment Utility
With an article in edit mode, there are source code settings like below for the images:

style="max-width: 800px;"></

This allows to make the images smaller. But, the adjustment changes an image size while the author is in edit mode. So, after saving the changes, the image sizes ignore the setting just made. This has been my experience. Apparently, it is under consideration article edit utility to be upgraded. Verify with Netminder.

Mike
0
     Intro
     In this article, I will show you how to parse a JSON in Swift using an open source library called SwiftyJSON. If you haven't heard of a JSON before, it stands for JavaScript Object Notation and it is used to transfer data, usually between servers and applications. In other words, you will be using JSON in order to store any non-local data in your apps.  JSON is easy for people  to read and formatted so that it is easy for a computer to parse.
 
     Grabbing the info:
     In order to parse a JSON, you need to have some NSData to begin with. The most common place to get NSData is from websites. In order to do this you need to first create an array for storing the data. In addition to this we can set up our URL connection by creating a new NSURLConnection and passing it a NSURLRequest with your specified path.
var request: NSURLRequest = NSURLRequest(NSURL(string: <your url path>))
var connection: NSURLConnection = NSURLConnection(request: request, delegate: self, startImmediately: true)

var data: NSMutableata = NSMutableData()

Open in new window

Now you must implement a few methods that will be called when a response is received, when data is being appended, and when the connection is done loading data.

func connection(didReceiveResponse: NSURLConnection!, didReceiveResponse response: NSURLResponse!) {
   // clear the array for new data to be loaded
   data = NSMutableData()
}

func connection(connection: NSURLConnection!, didReceiveData data: NSData!) {
   // appending data to array
   data.appendData(data)
}

func connectionDidFinishLoading(connection: NSURLConnection!) {
   // anything that you want done after data loads
}

Open in new window

1

The Basics of Storyboard

Storyboards were first introduced to developers in the release of iOS 5. They save the developer the trouble of designing each screen’s interface in a different file. The storyboard allows you to see the conceptual mockup of your app as a whole and the interactions between each screen. Using segues, you are able to set how the app will transition between given screens and pass data along. In this tutorial, I will show you how to make a simple login screen for an app.

Getting Started

The first thing that you are going to want to do is make a new project. You will want a new single screen application setting the language to Swift and the devices to universal. If you navigate to the storyboard you should see an empty view controller scene. The arrow on the left side of the view controller indicates that it is the root controller.
Screen-Shot-2015-04-06-at-3.56.37-PM.pngIn order to add labels for the user name and password, you need to go to the box in the bottom right of your screen, select the circle with a square in it, and drag and drop two labels onto your view. By choosing the preferences on the side bar, you can specify many important parameters. There are too many to go over but most are self-explanatory.
Screen-Shot-2015-04-06-at-4.03.16-PM.pngThe two important ones for us are the placeholder text and the secure text entry checkbox. We want to use placeholder text to let the user know what information is required of them and the secure entry to …
1
 
LVL 2

Author Comment

by:Andrew Reinman
Comment Utility
Sorry for the delay Eric, I wasn't aware of the problem until today and the screenshots I took were from macs on campus. I will upload the picture tomorrow after I get out of class, it should be up by 3 at the latest
0
When Apple released Swift last year, the aim was to introduce a new programming language for Cocoa and Cocoa Touch that was fast, easy and effective, like the name connotes.

Apple succeeded.

Swift is designed to couple with Objective-C programs and be compatible with all current Mac OS X and iOS programs. This means developers can add Swift to existing apps without ripping out older code.

Even better.

Here then, five Swift features guaranteed to maximize your iOS coding experience:


1. Storyboard

Storyboard is the greatest thing about making iOS applications. Any coder who has struggled to create a simple interface with GUI knows with Storyboard in iOS 8 a clean user interface isn’t just attainable, it’s inevitable. Someone with very little to no programming experience can get a nice-looking screen on their app simply by dragging and dropping objects (i.e. buttons, table views, text boxes) to the screen and setting attributes in the sidebar. Options of size, color and allowing the user to interact with the object are also easy changeable via a menu. To traverse the bridge between programming and Storyboard, use a control click and drag from the Storyboard to the class the object will be in. Best of all, the ugliness from the GUI is hidden in Storyboard allowing the programmer to focus on what they’re creating rather than obsessing solely over code.


2. MVC Design

The Model-View-Controller (MVC) design performs exactly as its name suggests. …
4
iPhone

What's a UDID?

If you're involved in developing, testing, or even reviewing an iOS application that's in beta, then at some point you may need to know the UDID for any iOS devices that you'll be testing on. What's the UDID? It stands for Unique Device Identifier, and much like it sounds, is a unique identifier for each and every iOS device. Knowing this number is crucial for granting a specific device permission to run an app that's still in development and not yet released to the public. This way, developers can ensure that their unreleased apps aren't ending up on devices they shouldn't!
 

OK, I've Just Been Asked for Mine

Great! Let's assume you've been invited as a beta tester for some cool new app. (Lucky you!) The developer has asked you for your iPhone or iPad's (or even an iPod Touch's) UDID so that they can set the provisioning profile that'll allow your device to run the beta version of their app. It's easy. Here's what you do:


Step 1: Connect Device to Computer

Connect the device to a computer that's running iTunes. Ideally, you've already got a computer that you synchronize with or backup your iDevice to. Use that one. (If not, then you'll need to get iTunes on a system that you can attach the device to. Just head over to http://www.apple.com/itunes/ to get the iTunes installer. It's ok, I'll wait.)


Step 2: Launch iTunes

If iTunes hasn't launched already (in …
3
 
LVL 62

Expert Comment

by:☠ MASQ ☠
Comment Utility
Thanks for this.

Just for info you can also collect the Apple UUID from Windows' registry without iTunes installed - as the iPhone/iPad will identify itself via Plug'n'Play through the USB interface.

There are multiple registry entries but as an example:

[HKLM\SYSTEM\CurrentControlSet\services\WinUSB\Enum]"0"
="USB\VID_05AC&PID_12xx\<your 40 character UUID is here>"

"USB\VID_05AC&PID_12xx" relates to the Apple DeviceID so for example 129F would mean an iPad 2 (WiFi version) has been connected. (
See below for iPad/iPhone device codes)

The DeviceID and UUID are both used to check devices subscribed to beta projects by programmers.

This might be a useful adjunct to this piece if your readers can't for some reason install iTunes on the Windows device they have available to them.

iPhone/iPad DeviceIDs

12A8 	iPhone 5, 5s, all 6 variants
12A0 	iPhone 4s
129c	iPhone 4 (Verizon)
1297 	iPhone 4 (Telus)
1290 	iPhone Original
1292 	iPhone 3G
1294 	iPhone 3Gs
129A 	iPad
129F 	iPad 2 (WiFi)
12a2	iPad 2 (GSM)
12a3	iPad 2 (CDMA)
12a3	iPad 2 #2 (WiFi)
12a4	iPad 3 (WiFi)
12a5	iPad 3 (CDMA)
12a6	iPad 3 (GSM)
12ab	iPad 4 (All variants incl Mini)

Open in new window

0
 
LVL 6

Author Comment

by:Brian Matis
Comment Utility
Thanks, MASQ! That's great info. I could definitely see that being useful if someone's in a situation where they can't get iTunes on the system available to them.
0
I recently went through the process of creating an installable image of an iPhone mobile app (an .ipa file) that beta testers could load onto their test devices. The process involved quite a few steps, but both Appcelerator and Diawi.org had decent documentation to walk me through it. However, I found a couple places where more details would be helpful.

This article augments their documentation with information that I hope helps you successfully create a distributable iPhone app for your beta testers. This article assumes you have Appcelerator’s Titanium Studio installed on your Mac. I used Titanium’s build 3.4.1.201410281727. You also need an Apple Developers account.

Before we get started, a quick note on Diawi.org. My team wanted to get our beta testing started quickly. We looked at TestFlight and Diawi.org. We decided to go with Diawi.org because of its simplicity.

There are two major steps in order to create an .ipa that can be installed on beta tester’s iOS device. Step one is to create the .ipa file. Of course this file has the mobile app’s code, but it also contains an embedded list of devices allowed to install the .ipa. Step two is making that .ipa file available for download.

Appcelerator’s “Deploying to iOS Devices” does a good job of walking you through the process to create the .ipa file. I got tripped up in just two places. The first one was in step 7 of Create an App ID
3
 
LVL 3

Expert Comment

by:Mark Olsen
Comment Utility
Very helpful article, thank you!
0
In this article I'm going to cover the basics and usages of NSInvocation.

What is NSInvocation?

Apple Developer Reference describes NSInvocation this way:
An NSInvocation is an Objective-C message rendered static, that is, it is an action turned into an object. NSInvocation objects are used to store and forward messages between objects and between applications, primarily by NSTimer objects and the distributed objects system.

When we call a method or access a member data of an object in our application, we are actually sending a message. Usually we don't send messages explicitly in our code since the compiler does the work for us. What NSInvocation brings to us is the ability to manually send a message to an object. So a NSInvocation object's job is to send messages; hence we create an object of NSInvocation class, we describe the aspects of the message and finally we send it to our target. The most useful advantage of NSInvocation is that it's an object so we can pass it as an argument to other methods.

Simple NSInvocation example

Suppose we have a dummy object named myDummyObject and it is an object of class myClass. in myClass we have a defined method named sayHelloWorld without any arguments. The simplest way to execute sayHelloWorld method is:
[myDummyObject sayHelloWorld];

Open in new window

In fact this line causes the compiler to create a message which says "execute sayHelloWorld method" and sends it to the target object which …
3
 
LVL 15

Administrative Comment

by:ericpete
Comment Utility
Programmer-x,

Congratulations; your article has been published. Thank you for your submission; I'm not a  programmer, and your article was clear and written well enough that it made complete sense to me.

Thanks!

ericpete
Page Editor
0
 
LVL 61

Expert Comment

by:mbizup
Comment Utility
Well written article!

Voted 'yes'.
0
Ever wanted to watch videos in your computer from the bed without the need of standing up and shutting down the computer?  Is your computers operating system Windows XP, Windows Vista or Windows 7?  Do you own a iOS device? If all the answers were yes, this article is for you!

Lets get to it:

1. Step 1

Buy Mobile Mouse in your iOS device, http://itunes.apple.com/us/app/air-mouse-pro-remote-trackpad/id289616509?mt=8&ign-mpt=uo%3D6

2. Step 2

Download the mobile mouse server from http://mobilemouse.com/

3. Step 3

Install the server on your Windows computer.

4. Step 4

Create the shutdown.bat file (a bat file is like a txt file but with a different file extension, it executes a commands.):
chdir C:\Windows\System32\
shutdown -s -f -t 60

Open in new window

5. Step 5

Create the abort_shutdown.bat file:
chdir C:\Windows\System32\
shutdown -a

Open in new window

6. Step 6

Place the shutdown.bat and abort_shutdown.bat in the C: Drive, or wherever you want it to be located.

7. Step 7

Open the Server Settings on the notifications area.
See here:Server Settings Notification Area

8. Step 8

Click on Hot Key Setup button that is located at the bottom of the Server Settings window.
See here:Server Settings

9. Step 9

On the 1, click on Program, browse to your shutdown.bat and select it, At the left of the filepath write a shortcut (I wrote ShDn on mine, why because if I would wrote ShutDown instead of ShDn it would show something like ShutD...).

10. Step 10

On the 2, click on Program, browse to your abort_shutdown.bat and select it, At the left of the filepath write a shortcut (I wrote Abort on mine).

This is how it Should look like:Hot Key

11. Step 11

Click OK on the Hot Key Setup window, then click Done on the Server Settings window.

12. Step 12

0

iOS

iOS is a mobile operating system developed by Apple; it is a derivative of the Mac OS X desktop operating system, with which it shares many (but not all) common frameworks and other components. These include Cocoa Touch, the Mach/Darwin/XNU kernel and code from the Berkeley Software Distribution (BSD). Each iOS application runs in its own secure sandbox to prevent altering other applications, the operating system, or any other data.