swift tag

599 questions


1 answers
76 views
0
Want to capture iOS device posture at an angle

I want to get the posture of the iOS device from the gyro, but I don't know how to do it.I looked it up and found out that http://qiita.com/yimajo/items/49bd534e8c257294a2e3This article is closest to ...

1 years ago

1 answers
39 views
0
I want to use the control bar when playing video on swift3.

I'm playing video on swift3.I would like to display the default control bar and seek it, but I tried to move the sample code like the one below.I can't display the control bar even if I tap the video....

1 years ago

1 answers
89 views
0
I want the button not to react when I swipe.

The iOS app implements a UI that scrolls vertically like a Twitter timeline.When you attempt to scroll vertically with a vertical swipe, if you swipe the area of the button on the UI, the button tap e...

1 years ago

1 answers
131 views
0
StringIndex advance method fails to compile

// Load Foundation Frameworkimport Foundationvar str = New power of String!// substringFromIndex cannot be used without Foundationbecome str.substringFromIndex(advance(str.startIndex,4))) // power of ...

1 years ago

1 answers
90 views
0
Control view hierarchy when viewController is different

The UITabBarController maintains a subView of the viewController.I would like it to be displayed before the subView of the UITabBarController view.Layer.zPosition, blingSubviewToFront:, etc. are not r...

1 years ago

1 answers
97 views
0
Swift3 compilation error

import Foundationfunc stdWeight(hegihtCm height:Double, #bmi:Double) - > Double { return power(height/100.0,2)*bmi}let height = 180.0let w1 = stdWeight (hegihtCm:height, bmi:22.0)print(The standard...

1 years ago

1 answers
116 views
0
About Swift protocol compliance (for example, unknown classes such as Java)

Hello I'm sorry to ask you something I can't do, but I'm having trouble because I don't know how to implement the protocol.I would appreciate it if someone could reply.For reasons such as containerVie...

1 years ago

2 answers
91 views
0
Please tell me about generating fetch conditions for Float values.

How do you generate fetch conditions for Float values?The condition setting for the Ingteger value yielded the expected result, but the condition setting for the Float value did not yield the expected...

1 years ago

1 answers
62 views
0
CCannot use instance member.... エラー error while creating table view

While creating a table view that displays the date and cell check items in the section, the tableData definition displays the error Cannot use instance member'checkListItem1' with in property initiali...

1 years ago

1 answers
84 views
0
Result is sent even if MFMailComposeViewController fails to send mail

I tried to open a mailer in the app using the MFMailComposeViewController and send an email, but it didn't work, so I asked this time.The code that you think is relevant is as follows.However, if you ...

1 years ago
« - 9 - »

© 2024 OneMinuteCode. All rights reserved.